jdk/src/share/classes/javax/security/auth/login/Configuration.java
changeset 19385 a7b34a4b1fcb
parent 18830 90956ead732f
child 22334 e86fef5f34cb
equal deleted inserted replaced
19068:f2358d18923a 19385:a7b34a4b1fcb
    73  * <p> Each entry in the {@code Configuration} is indexed via an
    73  * <p> Each entry in the {@code Configuration} is indexed via an
    74  * application name, <i>Name</i>, and contains a list of
    74  * application name, <i>Name</i>, and contains a list of
    75  * LoginModules configured for that application.  Each {@code LoginModule}
    75  * LoginModules configured for that application.  Each {@code LoginModule}
    76  * is specified via its fully qualified class name.
    76  * is specified via its fully qualified class name.
    77  * Authentication proceeds down the module list in the exact order specified.
    77  * Authentication proceeds down the module list in the exact order specified.
    78  * If an application does not have specific entry,
    78  * If an application does not have a specific entry,
    79  * it defaults to the specific entry for "<i>other</i>".
    79  * it defaults to the specific entry for "<i>other</i>".
    80  *
    80  *
    81  * <p> The <i>Flag</i> value controls the overall behavior as authentication
    81  * <p> The <i>Flag</i> value controls the overall behavior as authentication
    82  * proceeds down the stack.  The following represents a description of the
    82  * proceeds down the stack.  The following represents a description of the
    83  * valid values for <i>Flag</i> and their respective semantics:
    83  * valid values for <i>Flag</i> and their respective semantics:
   246                         return java.security.Security.getProperty
   246                         return java.security.Security.getProperty
   247                                     ("login.configuration.provider");
   247                                     ("login.configuration.provider");
   248                     }
   248                     }
   249                 });
   249                 });
   250                 if (config_class == null) {
   250                 if (config_class == null) {
   251                     config_class = "com.sun.security.auth.login.ConfigFile";
   251                     config_class = "sun.security.provider.ConfigFile";
   252                 }
   252                 }
   253 
   253 
   254                 try {
   254                 try {
   255                     final String finalClass = config_class;
   255                     final String finalClass = config_class;
   256                     configuration = AccessController.doPrivileged
   256                     configuration = AccessController.doPrivileged