|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opends.server.extensions.GSSAPIStateInfo
public class GSSAPIStateInfo
This class defines a data structure that holds state information needed for processing a SASL GSSAPI bind from a client.
Constructor Summary | |
---|---|
GSSAPIStateInfo(GSSAPISASLMechanismHandler gssapiHandler,
BindOperation bindOperation,
java.lang.String serverFQDN)
Creates a new GSSAPI state info structure with the provided information. |
Method Summary | |
---|---|
void |
dispose()
Destroys any sensitive information that might be associated with the SASL server instance. |
Entry |
getUserEntry()
Retrieves the entry of the user that has authenticated on this GSSAPI session. |
void |
handle(javax.security.auth.callback.Callback[] callbacks)
Handles any callbacks that might be required in order to process a SASL GSSAPI bind on the server. |
void |
processAuthenticationStage()
Processes the next stage of the GSSAPI bind process. |
java.lang.Boolean |
run()
Processes a stage of the SASL GSSAPI bind request. |
void |
setBindOperation(BindOperation bindOperation)
Sets the bind operation for the next stage of processing in the GSSAPI authentication. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GSSAPIStateInfo(GSSAPISASLMechanismHandler gssapiHandler, BindOperation bindOperation, java.lang.String serverFQDN) throws InitializationException
gssapiHandler
- The GSSAPI authentication handler that created this
state information.bindOperation
- The bind operation with which this state is
associated.serverFQDN
- The fully-qualified domain name for the server to
use in the authentication process.
InitializationException
- If it is not possible to authenticate to
the KDC to verify the client credentials.Method Detail |
---|
public void setBindOperation(BindOperation bindOperation)
bindOperation
- The bind operation for the next stage of processing
in the GSSAPI authentication.public Entry getUserEntry()
public void dispose()
public void processAuthenticationStage()
public java.lang.Boolean run()
setBindOperation
method must have been called to update the
reference to the latest bind request before invoking this method through
doAs
or doAsPrivileged
.
run
in interface java.security.PrivilegedExceptionAction<java.lang.Boolean>
true
if there was no error during this stage of the
bind and processing can continue, or false
if an
error occurred and and processing should not continue.public void handle(javax.security.auth.callback.Callback[] callbacks) throws javax.security.auth.callback.UnsupportedCallbackException
handle
in interface javax.security.auth.callback.CallbackHandler
callbacks
- The callbacks needed to provide information for the
GSSAPI authentication process.
javax.security.auth.callback.UnsupportedCallbackException
- If an unexpected callback is
included in the provided set.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |