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
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
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.