User: stark   
  Date: 01/02/14 13:20:06

  Modified:    security/src/main/org/jboss/metadata BeanMetaData.java
  Log:
  Updated SecurityInterceptor to be independent of any JAAS classes
  and refactored security proxy layer to simplify the model.
  
  Revision  Changes    Path
  1.2       +6 -16     contrib/security/src/main/org/jboss/metadata/BeanMetaData.java
  
  Index: BeanMetaData.java
  ===================================================================
  RCS file: 
/products/cvs/ejboss/contrib/security/src/main/org/jboss/metadata/BeanMetaData.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- BeanMetaData.java 2001/02/12 09:22:18     1.1
  +++ BeanMetaData.java 2001/02/14 21:20:06     1.2
  @@ -26,7 +26,7 @@
    *   @see <related>
    *   @author <a href="mailto:[EMAIL PROTECTED]">Sebastien Alborini</a>
    *   @author Peter Antman ([EMAIL PROTECTED])
  - *   @version $Revision: 1.1 $
  + *   @version $Revision: 1.2 $
    */
   public abstract class BeanMetaData extends MetaData {
       // Constants -----------------------------------------------------
  @@ -54,21 +54,13 @@
        private String jndiName;
        protected String configurationName;
        private ConfigurationMetaData configuration;
  -    private String statelessSecurityProxy;
  -    private String statefulSecurityProxy;
  +    private String securityProxy;
   
       /**
  -     * @label stateless-security-proxy element
  +     * @label security-proxy element
        * @supplierRole bean container
        * @clientRole bean config*/
       /*#Container lnkContainer;*/
  -
  -    /**
  -     * @label stateful-security-proxy element
  -     * @supplierRole bean container
  -     * @clientRole bean config 
  -     */
  -    /*#Container lnkContainer1;*/
        // Static --------------------------------------------------------
       
       // Constructors --------------------------------------------------
  @@ -126,8 +118,7 @@
                return configuration;
        }
   
  -     public String getStatelessSecurityProxy() { return statelessSecurityProxy; }
  -     public String getStatefulSecurityProxy() { return statefulSecurityProxy; }
  +     public String getSecurityProxy() { return securityProxy; }
   
        public ApplicationMetaData getApplicationMetaData() { return application; }
        
  @@ -258,9 +249,8 @@
                        throw new DeploymentException("configuration '" + 
configurationName + "' not found in standardjboss.xml or jboss.xml");
                }
                
  -        // Get the security proxies
  -        statelessSecurityProxy = getElementContent(getOptionalChild(element, 
"stateless-security-proxy"), statelessSecurityProxy);
  -        statefulSecurityProxy = getElementContent(getOptionalChild(element, 
"stateful-security-proxy"), statefulSecurityProxy);
  +        // Get the security proxy
  +        securityProxy = getElementContent(getOptionalChild(element, 
"security-proxy"), securityProxy);
   
           // update the resource references (optional)
                Iterator iterator = getChildrenByTagName(element, "resource-ref");
  
  
  

Reply via email to