com.sun.jaspic.config.jaas
Class ExtendedConfigFile

java.lang.Object
  extended by javax.security.auth.login.Configuration
      extended by com.sun.security.auth.login.ConfigFile
          extended by com.sun.jaspic.config.jaas.ExtendedConfigFile

public class ExtendedConfigFile
extends com.sun.security.auth.login.ConfigFile

Author:
Ron Monzillo

Nested Class Summary
 
Nested classes/interfaces inherited from class javax.security.auth.login.Configuration
javax.security.auth.login.Configuration.Parameters
 
Constructor Summary
ExtendedConfigFile()
           
ExtendedConfigFile(java.net.URI uri)
           
 
Method Summary
 java.lang.String[] getAppNames(java.lang.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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExtendedConfigFile

public ExtendedConfigFile()

ExtendedConfigFile

public ExtendedConfigFile(java.net.URI uri)
Parameters:
uri -
Method Detail

getAppNames

public java.lang.String[] getAppNames(java.lang.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:
java.lang.SecurityException


Copyright © 2012 GlassFish Community. All Rights Reserved.