public class UserAuthGSS extends AbstractUserAuth
Prototype user authentication handling gssapi-with-mic. Implements HandshakingUserAuth because
the process involves several steps.
Several methods are available for overriding in specific circumstances.
| Modifier and Type | Class and Description |
|---|---|
static class |
UserAuthGSS.Factory
Factory class.
|
| Modifier and Type | Field and Description |
|---|---|
static Oid |
KRB5_MECH |
static Oid |
KRB5_NT_PRINCIPAL |
log, service, session, username| Constructor and Description |
|---|
UserAuthGSS() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Free any system resources used by the module.
|
protected Boolean |
doAuth(Buffer buffer,
boolean initial)
Handle the first authentication step.
|
String |
getUserName()
Get a user name which has been derived from the handshaking process, or the initial name if
nothing has been found.
|
auth, getService, nextpublic static final Oid KRB5_MECH
public static final Oid KRB5_NT_PRINCIPAL
protected Boolean doAuth(Buffer buffer, boolean initial) throws Exception
doAuth in class AbstractUserAuthExceptionpublic String getUserName()
getUserName in interface UserAuthgetUserName in class AbstractUserAuthpublic void destroy()
destroy in interface UserAuthdestroy in class AbstractUserAuthCopyright © 2008–2015 The Apache Software Foundation. All rights reserved.