public interface AuthenticationPlugIn<T extends Credential>
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 |
---|---|
Identity<T> |
loadIdentity(String userName,
String realm)
Load the identity for the given username and realm.
|
Identity<T> loadIdentity(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 there is any problem loading the identity or if the identity is not found.Copyright © 2023 JBoss by Red Hat. All rights reserved.