org.idoox.security.jaas
Class HttpDigestAuthorizationCallback

java.lang.Object
  extended byorg.idoox.security.jaas.HttpDigestAuthorizationCallback
All Implemented Interfaces:
javax.security.auth.callback.Callback

public class HttpDigestAuthorizationCallback
extends java.lang.Object
implements javax.security.auth.callback.Callback

This class is used for passing digest authorization parameters to LoginModule. LoginModule uses this callback to retrieve information that are related to HttpDigest authentication.

Component:
Security-Core

Constructor Summary
HttpDigestAuthorizationCallback()
           
 
Method Summary
 AuthorizationStructure getAuthorization()
          Returns the authorization object.
 void setAuthorization(AuthorizationStructure authorization)
          Sets authorization to a given authorization value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpDigestAuthorizationCallback

public HttpDigestAuthorizationCallback()
Method Detail

setAuthorization

public void setAuthorization(AuthorizationStructure authorization)
Sets authorization to a given authorization value.

Parameters:
authorization - a given value to set to.

getAuthorization

public AuthorizationStructure getAuthorization()
Returns the authorization object.

Returns:
the authorization object