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.Modifier and Type | Method and Description |
---|---|
String[] |
loadRoles(String userName,
String realm)
Load and return a list of the roles for the given username and realm.
|
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 © 2023 JBoss by Red Hat. All rights reserved.