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.
NamedResource.Utils
Modifier and Type | Field and Description |
---|---|
static Oid |
KRB5_MECH |
static Oid |
KRB5_NT_PRINCIPAL |
static String |
NAME |
log
BY_NAME_COMPARATOR, NAME_EXTRACTOR
Constructor and Description |
---|
UserAuthGSS() |
Modifier and Type | Method and Description |
---|---|
static Oid |
createOID(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 Boolean |
doAuth(Buffer buffer,
boolean initial) |
String |
getUsername() |
auth, getName, getServerSession, getService, getSession, next, toString
public static final String NAME
public static final Oid KRB5_MECH
public static final Oid KRB5_NT_PRINCIPAL
protected Boolean doAuth(Buffer buffer, boolean initial) throws Exception
doAuth
in class AbstractUserAuth
Exception
public String getUsername()
getUsername
in interface UsernameHolder
getUsername
in class AbstractUserAuth
null
/empty if holder
not yet initializedpublic void destroy()
destroy
in interface UserAuth
destroy
in class AbstractUserAuth
Copyright © 2008–2016 The Apache Software Foundation. All rights reserved.