You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-dev@jakarta.apache.org by ju...@apache.org on 2003/08/05 10:51:00 UTC

cvs commit: jakarta-slide/src/share/org/apache/slide/security Security.java SecurityImpl.java SecurityImplAllGrant.java

juergen     2003/08/05 01:51:00

  Modified:    src/share/org/apache/slide/security Security.java
                        SecurityImpl.java SecurityImplAllGrant.java
  Log:
  added support of an extern defined ACL semantic. The extern semantic can be specified via the acl_semantics under configuration in the domain.xml file
  
  e.g.
  <parameter name="acl_semantics">mypackage.mysemantics.MyACLGrantGantAllSemantic</parameter>
  
  (Eckehard)
  
  Revision  Changes    Path
  1.19      +10 -4     jakarta-slide/src/share/org/apache/slide/security/Security.java
  
  Index: Security.java
  ===================================================================
  RCS file: /home/cvs/jakarta-slide/src/share/org/apache/slide/security/Security.java,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- Security.java	25 Apr 2002 21:30:16 -0000	1.18
  +++ Security.java	5 Aug 2003 08:51:00 -0000	1.19
  @@ -80,6 +80,12 @@
       
       // ------------------------------------------------------ Interface Methods
       
  +    /** initialises the security if it has been loaded via reflection
  +     *
  +     * @param namespace Namespace
  +     * @param namespaceConfig Namespace configuration
  +     **/
  +    void init (Namespace namespace, NamespaceConfig namespaceConfig);
       
       /**
        * Enumerates permissions on an object.
  
  
  
  1.35      +16 -4     jakarta-slide/src/share/org/apache/slide/security/SecurityImpl.java
  
  Index: SecurityImpl.java
  ===================================================================
  RCS file: /home/cvs/jakarta-slide/src/share/org/apache/slide/security/SecurityImpl.java,v
  retrieving revision 1.34
  retrieving revision 1.35
  diff -u -r1.34 -r1.35
  --- SecurityImpl.java	30 Oct 2002 09:48:42 -0000	1.34
  +++ SecurityImpl.java	5 Aug 2003 08:51:00 -0000	1.35
  @@ -85,6 +85,13 @@
       
       // ----------------------------------------------------------- Constructors
       
  +    /**
  +     * Constructor.
  +     *
  +     * @param namespace Namespace
  +     * @param namespaceConfig Namespace configuration
  +     */
  +    public SecurityImpl() {}
       
       /**
        * Constructor.
  @@ -98,6 +105,11 @@
           this.rolesCache = new Hashtable();
       }
       
  +    public void init(Namespace namespace, NamespaceConfig namespaceConfig) {
  +        this.namespace = namespace;
  +        this.namespaceConfig = namespaceConfig;
  +        this.rolesCache = new Hashtable();
  +    }
       
       // ----------------------------------------------------- Instance Variables
       
  
  
  
  1.2       +11 -3     jakarta-slide/src/share/org/apache/slide/security/SecurityImplAllGrant.java
  
  Index: SecurityImplAllGrant.java
  ===================================================================
  RCS file: /home/cvs/jakarta-slide/src/share/org/apache/slide/security/SecurityImplAllGrant.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- SecurityImplAllGrant.java	30 Oct 2002 09:49:08 -0000	1.1
  +++ SecurityImplAllGrant.java	5 Aug 2003 08:51:00 -0000	1.2
  @@ -85,7 +85,15 @@
       
       // ----------------------------------------------------------- Constructors
       
  -    
  +    /**
  +     * Constructor.
  +     *
  +     * @param namespace Namespace
  +     * @param namespaceConfig Namespace configuration
  +     */
  +    public SecurityImplAllGrant() {
  +        super();
  +    }
       /**
        * Constructor.
        *
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: slide-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-dev-help@jakarta.apache.org