org.jboss.security.idtrust.api.plugins
Class IDTrustCallbackHandler

java.lang.Object
  extended by org.jboss.security.idtrust.api.plugins.IDTrustCallbackHandler
All Implemented Interfaces:
CallbackHandler, HandlerContract

public class IDTrustCallbackHandler
extends Object
implements CallbackHandler, HandlerContract

Default Callbackhandler that primarily uses the HandlerContract for the Principal/Credential combination

Constructor Summary
IDTrustCallbackHandler()
           
 
Method Summary
 void handle(Callback[] callbacks)
           
 void setSecurityInfo(Principal principal, Object credential)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IDTrustCallbackHandler

public IDTrustCallbackHandler()
Method Detail

handle

public void handle(Callback[] callbacks)
            throws IOException,
                   UnsupportedCallbackException
Specified by:
handle in interface CallbackHandler
Throws:
IOException
UnsupportedCallbackException
See Also:
CallbackHandler.handle(Callback[])

setSecurityInfo

public void setSecurityInfo(Principal principal,
                            Object credential)
Specified by:
setSecurityInfo in interface HandlerContract
See Also:
HandlerContract.setSecurityInfo(Principal, Object)


Copyright © 2009 JBoss Inc.. All Rights Reserved.