FileBasedAuthenticationManager
instead. This class is due for removal
in December 2015.@Deprecated public class XmlAuthenticationManager extends java.lang.Object implements AuthenticationManager
AuthenticationManager
which reads permissions from an XML permissions file.AuthenticationManager.Context
Constructor and Description |
---|
XmlAuthenticationManager()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
java.util.Set<java.lang.String> |
getAllUserGroups()
Deprecated.
Provides the set of all group names known to the authentication manager.
|
java.lang.String |
getSsoPassword(java.lang.String ssoUsername)
Deprecated.
Returns the password for the provided single sign on (SSO) user name.
|
java.util.Set<java.lang.String> |
getSsoUsernames()
Deprecated.
Returns the set of all SSO user names.
|
java.util.Set<java.lang.String> |
getSsoUsersInGroup(java.lang.String group)
Deprecated.
Returns the set of single sign on (SSO) user names that belong to the given group.
|
void |
initialise(AuthenticationManager.Context context)
Deprecated.
This notifies the authentication manager that it is about to be loaded.
|
public void initialise(AuthenticationManager.Context context) throws AuthenticationManagerException
AuthenticationManager
initialise
in interface AuthenticationManager
AuthenticationManagerException
- if for any reason initialisation fails.public java.util.Set<java.lang.String> getSsoUsernames()
AuthenticationManager
getSsoUsernames
in interface AuthenticationManager
public java.lang.String getSsoPassword(java.lang.String ssoUsername)
AuthenticationManager
getSsoPassword
in interface AuthenticationManager
public java.util.Set<java.lang.String> getAllUserGroups()
<users>
<SingleSignOnUserName id="user1@caplin.com" tradesOnBehalfOf="user1@caplin.com" userGroups="Global, AllTenors, OrdersFX, TwoWayPricing"/>
<SingleSignOnUserName id="user2@caplin.com" tradesOnBehalfOf="user2@caplin.com" userGroups="Global, AllTenors"/>
...
</users>
getAllUserGroups()
will return the set (Global, AllTenors, OrdersFX, TwoWayPricing).getAllUserGroups
in interface AuthenticationManager
public java.util.Set<java.lang.String> getSsoUsersInGroup(java.lang.String group)
<users>
<SingleSignOnUserName id="user1@caplin.com" tradesOnBehalfOf="user1@caplin.com" userGroups="Global, AllTenors, OrdersFX, TwoWayPricing"/>
<SingleSignOnUserName id="user2@caplin.com" tradesOnBehalfOf="user2@caplin.com" userGroups="Global, AllTenors"/>
...
</users>
getSsoUsersInGroup("AllTenors")
will return the set (user1@caplin.com, user2@caplin.com).getSsoUsersInGroup
in interface AuthenticationManager
group
- the group name for which to retrieve members.Copyright © 2016 Caplin Systems.