public class UserAuthGSS extends AbstractUserAuth
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 org.ietf.jgss.Oid |
KRB5_MECH |
static org.ietf.jgss.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 java.lang.Boolean |
doAuth(Buffer buffer,
boolean initial)
Handle the first authentication step.
|
java.lang.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 org.ietf.jgss.Oid KRB5_MECH
public static final org.ietf.jgss.Oid KRB5_NT_PRINCIPAL
protected java.lang.Boolean doAuth(Buffer buffer, boolean initial) throws java.lang.Exception
doAuth in class AbstractUserAuthjava.lang.Exceptionpublic java.lang.String getUserName()
getUserName in interface UserAuthgetUserName in class AbstractUserAuthpublic void destroy()
destroy in interface UserAuthdestroy in class AbstractUserAuthCopyright © 2008-2014 The Apache Software Foundation. All Rights Reserved.