org.idoox.security.jaas
Class KeyStoreCallback

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

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

This class is used to pass WASP KeyStore to LoginModule. LoginModule can get private key, certificate and trusted certificates from KeyStore.

Component:
Security-Core

Constructor Summary
KeyStoreCallback()
           
 
Method Summary
 KeyStore getKeyStore()
          Returns the pstore object.
 void setKeyStore(KeyStore keyStore)
          Sets keyStore to a given value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KeyStoreCallback

public KeyStoreCallback()
Method Detail

setKeyStore

public void setKeyStore(KeyStore keyStore)
Sets keyStore to a given value.

Parameters:
keyStore - a given value to set to.

getKeyStore

public KeyStore getKeyStore()
Returns the pstore object.

Returns:
the pstore object