org.jboss.soa.esb.services.security.auth.login
Class JBossSTSTokenCallbackHandler

java.lang.Object
  extended by org.jboss.soa.esb.services.security.auth.login.JBossSTSTokenCallbackHandler
All Implemented Interfaces:
javax.security.auth.callback.CallbackHandler, org.jboss.internal.soa.esb.services.security.EsbCallbackHandler

public class JBossSTSTokenCallbackHandler
extends java.lang.Object
implements org.jboss.internal.soa.esb.services.security.EsbCallbackHandler

JAAS callback handler that can be used with JBossSTS login modules.

Author:
Daniel Bevenius

Constructor Summary
JBossSTSTokenCallbackHandler()
           
JBossSTSTokenCallbackHandler(AuthenticationRequest authRequest)
           
 
Method Summary
 void handle(javax.security.auth.callback.Callback[] callbacks)
           
 void setAuthenticationRequest(AuthenticationRequest authRequest)
           
 void setSecurityConfig(SecurityConfig config)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JBossSTSTokenCallbackHandler

public JBossSTSTokenCallbackHandler()

JBossSTSTokenCallbackHandler

public JBossSTSTokenCallbackHandler(AuthenticationRequest authRequest)
Method Detail

handle

public void handle(javax.security.auth.callback.Callback[] callbacks)
            throws java.io.IOException,
                   javax.security.auth.callback.UnsupportedCallbackException
Specified by:
handle in interface javax.security.auth.callback.CallbackHandler
Throws:
java.io.IOException
javax.security.auth.callback.UnsupportedCallbackException

setAuthenticationRequest

public void setAuthenticationRequest(AuthenticationRequest authRequest)
Specified by:
setAuthenticationRequest in interface org.jboss.internal.soa.esb.services.security.EsbCallbackHandler

setSecurityConfig

public void setSecurityConfig(SecurityConfig config)
Specified by:
setSecurityConfig in interface org.jboss.internal.soa.esb.services.security.EsbCallbackHandler