public interface AuthenticationManager
Modifier and Type | Interface and Description |
---|---|
static class |
AuthenticationManager.Context |
Modifier and Type | Method and Description |
---|---|
java.util.Set<java.lang.String> |
getAllUserGroups()
Provides the set of all group names known to the authentication manager.
|
java.lang.String |
getSsoPassword(java.lang.String ssoUsername)
Returns the password for the provided single sign on (SSO) user name.
|
java.util.Set<java.lang.String> |
getSsoUsernames()
Returns the set of all SSO user names.
|
java.util.Set<java.lang.String> |
getSsoUsersInGroup(java.lang.String group)
Returns the set of single sign on (SSO) user names that belong to the given group.
|
void |
initialise(AuthenticationManager.Context context)
This notifies the authentication manager that it is about to be loaded.
|
void initialise(AuthenticationManager.Context context) throws AuthenticationManagerException
You should use this method to perform any initialisation required before the AuthenticationManager is loaded by the system.
AuthenticationManagerException
- if for any reason initialisation fails.java.util.Set<java.lang.String> getSsoUsernames() throws AuthenticationManagerException
AuthenticationManagerException
- if no user is found.java.lang.String getSsoPassword(java.lang.String ssoUsername) throws AuthenticationManagerException
AuthenticationManagerException
- if no user is found.java.util.Set<java.lang.String> getAllUserGroups() throws AuthenticationManagerException
AuthenticationManagerException
- if no user is found.java.util.Set<java.lang.String> getSsoUsersInGroup(java.lang.String group) throws AuthenticationManagerException
AuthenticationManagerException
- if no user is found.Copyright © 2019 Caplin Systems.