Class ExtendedConfigFile


  • public class ExtendedConfigFile
    extends ConfigFile
    Author:
    Ron Monzillo
    • 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