Package com.sun.jaspic.config.jaas
Class ExtendedConfigFile
- java.lang.Object
-
- javax.security.auth.login.Configuration
-
- com.sun.security.auth.login.ConfigFile
-
- com.sun.jaspic.config.jaas.ExtendedConfigFile
-
public class ExtendedConfigFile extends ConfigFile
- Author:
- Ron Monzillo
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class javax.security.auth.login.Configuration
Configuration.Parameters
-
-
Constructor Summary
Constructors Constructor Description ExtendedConfigFile()
ExtendedConfigFile(URI uri)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String[]
getAppNames(Class[] authModuleClass)
The ExtendedConfigFile subclass was created because the Configuration interface does not provide a way to do what this method does; i.e.-
Methods inherited from class com.sun.security.auth.login.ConfigFile
getAppConfigurationEntry, refresh
-
Methods inherited from class javax.security.auth.login.Configuration
getConfiguration, getInstance, getInstance, getInstance, getParameters, getProvider, getType, setConfiguration
-
-
-
-
Constructor Detail
-
ExtendedConfigFile
public ExtendedConfigFile()
-
ExtendedConfigFile
public ExtendedConfigFile(URI uri)
- Parameters:
uri
-
-
-
Method Detail
-
getAppNames
public String[] getAppNames(Class[] authModuleClass)
The ExtendedConfigFile subclass was created because the Configuration interface does not provide a way to do what this method does; i.e. get all the app names from the config.- Parameters:
authModuleClass
- an Array of Class objects or null. When this parameter is not null, the appnames are filtered by removing all names that are not associated via an AppConfigurationEntry with at least one LoginModule that implements an authModuleClass.- Returns:
- String[] containing all the AppNames appearing in the config file.
- Throws:
SecurityException
-
-