public class FileBasedAuthenticationManager extends java.lang.Object implements AuthenticationManager
AuthenticationManager
which reads permissions from a file.AuthenticationManager.Context
Constructor and Description |
---|
FileBasedAuthenticationManager() |
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.
|
public void initialise(AuthenticationManager.Context context) throws AuthenticationManagerException
AuthenticationManager
You should use this method to perform any initialisation required before the AuthenticationManager is loaded by the system.
initialise
in interface AuthenticationManager
AuthenticationManagerException
- if for any reason initialisation fails.public java.util.Set<java.lang.String> getSsoUsernames() throws AuthenticationManagerException
AuthenticationManager
getSsoUsernames
in interface AuthenticationManager
AuthenticationManagerException
- if no user is found.public java.lang.String getSsoPassword(java.lang.String ssoUsername) throws AuthenticationManagerException
AuthenticationManager
getSsoPassword
in interface AuthenticationManager
AuthenticationManagerException
- if no user is found.public java.util.Set<java.lang.String> getAllUserGroups() throws AuthenticationManagerException
AuthenticationManager
getAllUserGroups
in interface AuthenticationManager
AuthenticationManagerException
- if no user is found.public java.util.Set<java.lang.String> getSsoUsersInGroup(java.lang.String group) throws AuthenticationManagerException
AuthenticationManager
getSsoUsersInGroup
in interface AuthenticationManager
AuthenticationManagerException
- if no user is found.Copyright © 2019 Caplin Systems.