JBoss Remoting 3 3.2.13.GA-redhat-1

org.jboss.remoting3.security
Interface AuthorizingCallbackHandler

All Superinterfaces:
CallbackHandler

public interface AuthorizingCallbackHandler
extends CallbackHandler

An extension so the CallbackHandler interface to allow for additional UserInfo to be loaded to be associated with the current request. The AuthorizingCallbackHandler returned from the ServerAuthenticationProvider will be retained with the connection and after the SASL based authentication has completed the createUserInfo method will be called in the same instance.

Author:
Darran Lofthouse

Method Summary
 UserInfo createUserInfo(Collection<Principal> remotingPrincipals)
          Create and return the UserInfo instance for the user identified by the provided remoting principals.
 
Methods inherited from interface javax.security.auth.callback.CallbackHandler
handle
 

Method Detail

createUserInfo

UserInfo createUserInfo(Collection<Principal> remotingPrincipals)
                        throws IOException
Create and return the UserInfo instance for the user identified by the provided remoting principals.

Parameters:
remotingPrincipals - - The principals already created based on the authentication.
Returns:
The new UserInfo instance.
Throws:
IOException

JBoss Remoting 3 3.2.13.GA-redhat-1

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.