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 | Field and Description |
|---|---|
private org.ietf.jgss.GSSContext |
context |
private java.lang.String |
identity |
static org.ietf.jgss.Oid |
KRB5_MECH |
static org.ietf.jgss.Oid |
KRB5_NT_PRINCIPAL |
static java.lang.String |
NAME |
logBY_NAME_COMPARATOR, NAME_EXTRACTOR| Constructor and Description |
|---|
UserAuthGSS() |
| Modifier and Type | Method and Description |
|---|---|
static org.ietf.jgss.Oid |
createOID(java.lang.String rep)
Utility to construct an Oid from a string, ignoring the annoying exception.
|
void |
destroy()
Free any system resources used by the module.
|
protected java.lang.Boolean |
doAuth(Buffer buffer,
boolean initial) |
auth, getName, getServerSession, getService, getSession, getUsername, next, toStringgetSimplifiedLoggerclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindByName, getNameList, getNames, ofName, removeByNamepublic static final java.lang.String NAME
public static final org.ietf.jgss.Oid KRB5_MECH
public static final org.ietf.jgss.Oid KRB5_NT_PRINCIPAL
private org.ietf.jgss.GSSContext context
private java.lang.String identity
protected java.lang.Boolean doAuth(Buffer buffer, boolean initial) throws java.lang.Exception
doAuth in class AbstractUserAuthjava.lang.Exceptionpublic void destroy()
destroy in interface UserAuthdestroy in class AbstractUserAuthpublic static org.ietf.jgss.Oid createOID(java.lang.String rep)
rep - The string form