User: starksm 
  Date: 02/04/14 11:59:49

  Modified:    src/etc/conf/default auth.conf jboss-service.xml
  Log:
  Deprecate the auth.conf login configuration file in favor of the
  XML version read by the XMLLoginConfig implementation of
  javax.security.auth.login.Configuration
  
  Revision  Changes    Path
  1.12      +3 -78     jboss/src/etc/conf/default/auth.conf
  
  Index: auth.conf
  ===================================================================
  RCS file: /cvsroot/jboss/jboss/src/etc/conf/default/auth.conf,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- auth.conf 14 Apr 2002 04:31:57 -0000      1.11
  +++ auth.conf 14 Apr 2002 18:59:49 -0000      1.12
  @@ -1,13 +1,6 @@
  -/// ====================================================================== ///
  -//                                                                          //
  -//  JBoss Authentication Module Configuration                               //
  -//                                                                          //
  -/// ====================================================================== ///
  -
  -// $Id: auth.conf,v 1.11 2002/04/14 04:31:57 d_jencks Exp $
  -
  -// Put login modules providing authentication and realm mappings
  -// for security domains.
  +// This file is now obsolete but is read for backward compatability
  +// Use the login-config.xml file instead
  +// $Id: auth.conf,v 1.12 2002/04/14 18:59:49 starksm Exp $
   
   simple {
       // Very simple login module: 
  @@ -17,71 +10,3 @@
       // users with non-null password also have role "user"
       org.jboss.security.auth.spi.SimpleServerLoginModule required;
   };
  -
  -// Used by clients within the application server VM such as
  -// mbeans and servlets that access EJBs.
  -client-login {
  -    org.jboss.security.ClientLoginModule required;
  -};
  -
  -// The default server login module
  -other {
  -    // A simple server login module, which can be used when the number 
  -    // of users is relatively small. It uses two properties files:
  -    //   users.properties, which holds users (key) and their password (value).
  -    //   roles.properties, which holds users (key) and a comma-separated list of 
their roles (value).
  -    // The unauthenticatedIdentity property defines the name of the principal
  -    // that will be used when a null username and password are presented as is
  -    // the case for an unuathenticated web client or MDB. If you want to
  -    // allow such users to be authenticated add the property, e.g.,
  -    //   unauthenticatedIdentity="nobody"
  -    org.jboss.security.auth.spi.UsersRolesLoginModule required
  -        ;
  -};
  - 
  -// Security domain for JBossMQ
  -jbossmq {
  -    //       
  -    //  Security domain for JBossMQ. Other Login modules may be used.
  -    org.jboss.mq.sm.file.DynamicLoginModule required
  -    unauthenticatedIdentity="guest"
  -    sm.objectname="jboss.mq:service=StateManager"
  -     ;
  -};
  -
  -// Security domain for testing new jca framework
  -HsqlDbRealm {
  -    //       
  -    //  Security domain for new jca framework. 
  -    // One per ManagedConnectionFactory are required.
  -    org.jboss.resource.security.ConfiguredIdentityLoginModule required
  -    principal="sa"
  -    userName="sa"
  -    //password="" jdk1.4 doesn't like empty strings here.
  -    managedConnectionFactoryName="jboss.jca:service=LocalTxCM,name=hsqldbDS"
  -     ;
  -};
  -
  -FirebirdDBRealm {
  -    //       
  -    //  Security domain for new jca framework. 
  -    // One per ManagedConnectionFactory are required.
  -    org.jboss.resource.security.ConfiguredIdentityLoginModule required
  -    principal="sysdba"
  -    userName="sysdba"
  -    password="masterkey"
  -    managedConnectionFactoryName="jboss.jca:service=XaTxCM,name=FirebirdDS"
  -     ;
  -};
  -
  -JmsXARealm {
  -    //       
  -    //  Security domain for new jca framework. 
  -    // One per ManagedConnectionFactory are required.
  -    org.jboss.resource.security.ConfiguredIdentityLoginModule required
  -    principal="guest"
  -    userName="guest"
  -    password="guest"
  -    managedConnectionFactoryName="jboss.jca:service=JmsXACM"
  -     ;
  -};
  \ No newline at end of file
  
  
  
  1.43      +5 -5      jboss/src/etc/conf/default/jboss-service.xml
  
  Index: jboss-service.xml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss/src/etc/conf/default/jboss-service.xml,v
  retrieving revision 1.42
  retrieving revision 1.43
  diff -u -r1.42 -r1.43
  --- jboss-service.xml 12 Apr 2002 05:01:38 -0000      1.42
  +++ jboss-service.xml 14 Apr 2002 18:59:49 -0000      1.43
  @@ -1,6 +1,6 @@
   <?xml version="1.0" encoding="UTF-8"?>
   <!DOCTYPE server>
  -<!-- $Id: jboss-service.xml,v 1.42 2002/04/12 05:01:38 d_jencks Exp $ -->
  +<!-- $Id: jboss-service.xml,v 1.43 2002/04/14 18:59:49 starksm Exp $ -->
   
   <!-- ===================================================================== -->
   <!--                                                                       -->
  @@ -54,11 +54,11 @@
   
     <mbean code="org.jboss.security.plugins.SecurityConfig"
         name="jboss.security:name=SecurityConfig">
  -    <attribute name="LoginConfig">jboss.security:name=DefaultLoginConfig</attribute>
  +    <attribute name="LoginConfig">jboss.security:name=XMLLoginConfig</attribute>
     </mbean>
  -  <mbean code="org.jboss.security.plugins.DefaultLoginConfig"
  -      name="jboss.security:name=DefaultLoginConfig">
  -    <attribute name="AuthConfig">auth.conf</attribute>
  +  <mbean code="org.jboss.security.auth.login.XMLLoginConfig"
  +      name="jboss.security:name=XMLLoginConfig">
  +    <attribute name="ConfigResource">login-config.xml</attribute>
     </mbean>
   
     <!-- JAAS security manager and realm mapping -->
  
  
  

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to