Package org.apache.sshd.server.auth.gss
Class UserAuthGSS
java.lang.Object
org.apache.sshd.common.util.logging.AbstractLoggingBean
org.apache.sshd.server.auth.AbstractUserAuth
org.apache.sshd.server.auth.gss.UserAuthGSS
- All Implemented Interfaces:
UserAuthInstance<ServerSession>,UsernameHolder,NamedResource,UserAuth,ServerSessionHolder
Prototype user authentication handling gssapi-with-mic. Implements HandshakingUserAuth because the
process involves several steps.
Several methods are available for overriding in specific circumstances.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate GSSContextprivate Stringstatic final Oidstatic final Oidstatic final StringFields inherited from class org.apache.sshd.common.util.logging.AbstractLoggingBean
logFields inherited from interface org.apache.sshd.common.NamedResource
BY_NAME_COMPARATOR, NAME_EXTRACTOR -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.sshd.server.auth.AbstractUserAuth
auth, getName, getServerSession, getService, getSession, getUsername, next, toString
-
Field Details
-
NAME
- See Also:
-
KRB5_MECH
-
KRB5_NT_PRINCIPAL
-
context
-
identity
-
-
Constructor Details
-
UserAuthGSS
public UserAuthGSS()
-
-
Method Details
-
doAuth
- Specified by:
doAuthin classAbstractUserAuth- Throws:
Exception
-
destroy
public void destroy()Free any system resources used by the module.- Specified by:
destroyin interfaceUserAuth- Overrides:
destroyin classAbstractUserAuth
-
createOID
Utility to construct an Oid from a string, ignoring the annoying exception.- Parameters:
rep- The string form- Returns:
- The Oid
-