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 |
log
BY_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, toString
debug, debug, debug, debug, debug, error, error, error, error, error, getSimplifiedLogger, info, info, warn, warn, warn, warn, warn, warn, warn, warn
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findByName, findFirstMatchByName, getNameList, getNames, ofName, removeByName, safeCompareByName
public 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 AbstractUserAuth
java.lang.Exception
public void destroy()
destroy
in interface UserAuth
destroy
in class AbstractUserAuth
public static org.ietf.jgss.Oid createOID(java.lang.String rep)
rep
- The string form