geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject cvs commit: incubator-geronimo/modules/core/src/java/org/apache/geronimo/ejb/metadata MethodMetadata.java MethodMetadataImpl.java
Date Sat, 08 Nov 2003 22:29:05 GMT
adc         2003/11/08 14:29:05

  Modified:    modules/core/src/java/org/apache/geronimo/ejb/metadata
                        MethodMetadata.java MethodMetadataImpl.java
  Log:
  Need to keep the EJBMethodPermission handy.
  
  No longer need roles kept around.
  
  Revision  Changes    Path
  1.3       +3 -2      incubator-geronimo/modules/core/src/java/org/apache/geronimo/ejb/metadata/MethodMetadata.java
  
  Index: MethodMetadata.java
  ===================================================================
  RCS file: /home/cvs/incubator-geronimo/modules/core/src/java/org/apache/geronimo/ejb/metadata/MethodMetadata.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- MethodMetadata.java	11 Aug 2003 17:59:12 -0000	1.2
  +++ MethodMetadata.java	8 Nov 2003 22:29:05 -0000	1.3
  @@ -55,6 +55,7 @@
    */
   package org.apache.geronimo.ejb.metadata;
   
  +import javax.security.jacc.EJBMethodPermission;
   import java.lang.reflect.Method;
   import java.util.Set;
   
  @@ -71,7 +72,7 @@
   
       TransactionAttribute getTransactionAttribute();
   
  -    Set getAllowedRoles();
  +    EJBMethodPermission getEJBMethodPermission();
   
       boolean isUnchecked();
   
  
  
  
  1.3       +7 -6      incubator-geronimo/modules/core/src/java/org/apache/geronimo/ejb/metadata/MethodMetadataImpl.java
  
  Index: MethodMetadataImpl.java
  ===================================================================
  RCS file: /home/cvs/incubator-geronimo/modules/core/src/java/org/apache/geronimo/ejb/metadata/MethodMetadataImpl.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- MethodMetadataImpl.java	11 Aug 2003 17:59:12 -0000	1.2
  +++ MethodMetadataImpl.java	8 Nov 2003 22:29:05 -0000	1.3
  @@ -55,6 +55,7 @@
    */
   package org.apache.geronimo.ejb.metadata;
   
  +import javax.security.jacc.EJBMethodPermission;
   import java.lang.reflect.Method;
   import java.util.Set;
   
  @@ -68,7 +69,7 @@
       private Method interfaceMethod;
       private Method callbackMethod;
       private TransactionAttribute transactionAttribute;
  -    private Set allowedRoles;
  +    private EJBMethodPermission ejbMethodPermission;
       private boolean excluded;
       private boolean unchecked;
   
  @@ -96,12 +97,12 @@
           this.transactionAttribute = transactionAttribute;
       }
   
  -    public Set getAllowedRoles() {
  -        return allowedRoles;
  +    public EJBMethodPermission getEJBMethodPermission() {
  +        return ejbMethodPermission;
       }
   
  -    public void setAllowedRoles(Set allowedRoles) {
  -        this.allowedRoles = allowedRoles;
  +    public void setEJBMethodPermission(EJBMethodPermission ejbMethodPermission) {
  +        this.ejbMethodPermission = ejbMethodPermission;
       }
   
       public boolean isExcluded() {
  
  
  

Mime
View raw message