org.idoox.security.jaas
Class UserStoreCallback

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

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

This class is used to pass WASP UserStore to LoginModule. LoginModule can use this UserStore to get user name/password pair, user name/certificate pair, and other user properties. The default implementation of HttpBasic and HttpDigest LoginModule uses UserStore to compare passords or to calculate HttpDigest response.

Component:
Security-Core

Constructor Summary
UserStoreCallback()
           
 
Method Summary
 UserStore getUserStore()
          Returns the userStore instance.
 void setUserStore(UserStore userStore)
          Sets userStore to a given value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserStoreCallback

public UserStoreCallback()
Method Detail

setUserStore

public void setUserStore(UserStore userStore)
Sets userStore to a given value.

Parameters:
userStore - a given value to set to.

getUserStore

public UserStore getUserStore()
Returns the userStore instance.

Returns:
the userStore instance