[jboss-cvs] jbosssx/src/main/org/jboss/security ...

Chris Griffith cegriff at ufl.edu
Fri Jul 21 15:37:38 EDT 2006


  User: j2ee_junkie
  Date: 06/07/21 15:37:38

  Modified:    src/main/org/jboss/security   Tag: Branch_4_0 AppPolicy.java
                        SecurityConstants.java
  Log:
  JBAS-1477: Pass in the security-domain name to the login modules for error reporting
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.4.26.2  +2 -2      jbosssx/src/main/org/jboss/security/AppPolicy.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: AppPolicy.java
  ===================================================================
  RCS file: /cvsroot/jboss/jbosssx/src/main/org/jboss/security/AppPolicy.java,v
  retrieving revision 1.4.26.1
  retrieving revision 1.4.26.2
  diff -u -b -r1.4.26.1 -r1.4.26.2
  --- AppPolicy.java	29 Oct 2005 05:06:37 -0000	1.4.26.1
  +++ AppPolicy.java	21 Jul 2006 19:37:38 -0000	1.4.26.2
  @@ -33,7 +33,7 @@
   /** A combination of keystore, authentication and authorization entries.
   
   @author Scott.Stark at jboss.org
  - at version $Revision: 1.4.26.1 $
  + at version $Revision: 1.4.26.2 $
   */
   public class AppPolicy
   {
  @@ -55,7 +55,7 @@
           ALL_PERMISSIONS = all.newPermissionCollection();
           ALL_PERMISSIONS.add(all);
           // A default policy with no authentication and NO_PERMISSIONS
  -        defaultAppPolicy = new AppPolicy("other");
  +        defaultAppPolicy = new AppPolicy(SecurityConstants.DEFAULT_APPLICATION_POLICY);
       }
   
       private String appName;
  
  
  
  1.3.2.3   +7 -2      jbosssx/src/main/org/jboss/security/SecurityConstants.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: SecurityConstants.java
  ===================================================================
  RCS file: /cvsroot/jboss/jbosssx/src/main/org/jboss/security/SecurityConstants.java,v
  retrieving revision 1.3.2.2
  retrieving revision 1.3.2.3
  diff -u -b -r1.3.2.2 -r1.3.2.3
  --- SecurityConstants.java	10 Jul 2006 06:37:05 -0000	1.3.2.2
  +++ SecurityConstants.java	21 Jul 2006 19:37:38 -0000	1.3.2.3
  @@ -21,17 +21,22 @@
     */
   package org.jboss.security;
   
  -//$Id: SecurityConstants.java,v 1.3.2.2 2006/07/10 06:37:05 j2ee_junkie Exp $
  +//$Id: SecurityConstants.java,v 1.3.2.3 2006/07/21 19:37:38 j2ee_junkie Exp $
   
   /**
    *  Defines Constants for usage in the Security Layer
    *  @author <a href="mailto:Anil.Saldhana at jboss.org">Anil Saldhana</a>
    *  @since  Dec 30, 2005 
  - *  @version $Revision: 1.3.2.2 $
  + *  @version $Revision: 1.3.2.3 $
    */
   public interface SecurityConstants
   {
      /**
  +    * Default Application Policy 
  +    */
  +   String DEFAULT_APPLICATION_POLICY = "other";
  +
  +   /**
       * The String option name used to pass in the security-domain 
       * name the LoginModule was configured in.
       */
  
  
  



More information about the jboss-cvs-commits mailing list