public interface AuthorizationPlugIn
PlugInConfigurationSupport
or PlugInLifecycleSupport
interfaces to be provided with configuration and a shared state map and optionally to receive a notification once the
authentication process has completed.String[] loadRoles(String userName, String realm) throws IOException
userName
- - The username supplied by the user.realm
- - Either the realm supplied by the user or the name of the realm this plug-in is executing within.IOException
- - If an error occurs loading the roles or if the identity can not be found.Copyright © 2014 JBoss by Red Hat. All rights reserved.