Class AMConfiguration
- java.lang.Object
-
- javax.security.auth.login.Configuration
-
- com.sun.identity.authentication.config.AMConfiguration
-
public class AMConfiguration extends Configuration
OpenAM JAAS Configuration implementation.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class javax.security.auth.login.Configuration
Configuration.Parameters
-
-
Constructor Summary
Constructors Constructor Description AMConfiguration(Configuration config)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddToListenersMap(String name, Object listener)Adds listener to listeners Map.AppConfigurationEntry[]getAppConfigurationEntry(String configName)Retrieve an array ofAppConfigurationEntrieswhich corresponds to the configuration ofLoginModulesfor this application.voidprocessListenerEvent(String name)Processes listener event, this method will remove configuration from the configuration cache, also remove the listener from the listened object, such asAMUser,AMRole, or SM Service.voidrefresh()Refreshes and reloads the Configuration.-
Methods inherited from class javax.security.auth.login.Configuration
getConfiguration, getInstance, getInstance, getInstance, getParameters, getProvider, getType, setConfiguration
-
-
-
-
Constructor Detail
-
AMConfiguration
public AMConfiguration(Configuration config)
Constructor.- Parameters:
config- base authentication configuration.
-
-
Method Detail
-
getAppConfigurationEntry
public AppConfigurationEntry[] getAppConfigurationEntry(String configName)
Retrieve an array ofAppConfigurationEntrieswhich corresponds to the configuration ofLoginModulesfor this application.- Specified by:
getAppConfigurationEntryin classConfiguration- Parameters:
configName- Configuration name used to index the Configuration.- Returns:
- Array of
AppConfigurationEntrieswhich corresponds to the configuration ofLoginModulesfor this application, or null if this application has no configuredLoginModules.
-
refresh
public void refresh()
Refreshes and reloads the Configuration.- Overrides:
refreshin classConfiguration
-
processListenerEvent
public void processListenerEvent(String name)
Processes listener event, this method will remove configuration from the configuration cache, also remove the listener from the listened object, such asAMUser,AMRole, or SM Service.- Parameters:
name- Configuration name.
-
-