|
Oracle Application Server JAAS Provider API Reference 10g Release 2 (10.1.2) B14019-02 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
javax.security.auth.login.Configuration
oracle.security.jazn.login.LoginModuleManager
This module extends javax.security.auth.login.Configuration by defining management methods (add/removeAppConfigurationEntry).
Field Summary | |
protected java.util.HashMap |
_appConfigEntries |
protected JAZNConfig |
_jaznConfig |
Constructor Summary | |
protected |
LoginModuleManager() |
protected |
LoginModuleManager(JAZNConfig config) |
Method Summary | |
void |
addAppConfigurationEntry(java.lang.String applicationName, javax.security.auth.login.AppConfigurationEntry newAppConfigEntry) Adds a new AppConfigurationEntry to the specified application. |
javax.security.auth.login.AppConfigurationEntry[] |
getAppConfigurationEntry(java.lang.String applicationName) Retrieves an array of AppConfigurationEntry which corresponds to the configuration of LoginModules for this application. |
javax.security.auth.login.AppConfigurationEntry |
getAppConfigurationEntry(java.lang.String applicationName, java.lang.String loginModuleName) Retrieves an AppConfigurationEntry which corresponds to the given LoginModule for this application. |
javax.security.auth.login.AppConfigurationEntry[] |
getApplicationConfigurationEntry(java.lang.String applicationName) Retrieves an array of AppConfigurationEntry which corresponds to the configuration of LoginModules for this application. |
java.util.ArrayList |
getApplicationNames() Retrieves a String arrayList of application names for which LoginModules have been configured. |
void |
refresh() Refreshes and reload the Configuration. |
void |
removeAppConfigurationEntry(java.lang.String applicationName, java.lang.String loginModuleName) Removes an AppConfigurationEntry from the specified application. |
void |
removeApplication(java.lang.String applicationName) Removes an application from the repository. |
void |
updateAppConfigurationEntry(java.lang.String applicationName, java.lang.String loginModuleName, javax.security.auth.login.AppConfigurationEntry.LoginModuleControlFlag controlFlag, java.util.Map options) Updates an AppConfigurationEntry of the specified application. |
Methods inherited from class javax.security.auth.login.Configuration |
getConfiguration, setConfiguration |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.util.HashMap _appConfigEntries
protected JAZNConfig _jaznConfig
Constructor Detail |
protected LoginModuleManager()
protected LoginModuleManager(JAZNConfig config)
Method Detail |
public javax.security.auth.login.AppConfigurationEntry[] getAppConfigurationEntry(java.lang.String applicationName)
applicationName
- the name of the application.public javax.security.auth.login.AppConfigurationEntry[] getApplicationConfigurationEntry(java.lang.String applicationName)
applicationName
- the name of the application.public javax.security.auth.login.AppConfigurationEntry getAppConfigurationEntry(java.lang.String applicationName, java.lang.String loginModuleName)
applicationName
- the name of the application.loginModuleName
- the name of the login module.public java.util.ArrayList getApplicationNames()
public void refresh()
public void addAppConfigurationEntry(java.lang.String applicationName, javax.security.auth.login.AppConfigurationEntry newAppConfigEntry) throws JAZNException
applicationName
- the specified applicationnewAppConfigEntry
- the new entry to be associated with the applicationJAZNException
public void updateAppConfigurationEntry(java.lang.String applicationName, java.lang.String loginModuleName, javax.security.auth.login.AppConfigurationEntry.LoginModuleControlFlag controlFlag, java.util.Map options) throws JAZNException
applicationName
- the specified applicationloginModuleName
- the login module whose entry is to be updatedcontrolFlag
- the value to be updatedoptions
- the the value to be updatedJAZNException
public void removeAppConfigurationEntry(java.lang.String applicationName, java.lang.String loginModuleName) throws JAZNException
applicationName
- the specified applicationloginModuleName
- the login module whose entry is to be removedJAZNException
public void removeApplication(java.lang.String applicationName) throws JAZNException
applicationName
- the name of the application to be removed.JAZNException
|
Oracle Application Server JAAS Provider API Reference 10g Release 2 (10.1.2) B14019-02 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |