User: starksm 
  Date: 01/11/01 12:56:27

  Modified:    src/main/org/jboss/resource RARMetaData.java
  Log:
  Add a securityPermission method to handle the security-permission element
  and print a msg indicating the security spec value is currently ignored.
  
  Revision  Changes    Path
  1.10      +17 -1     jbosscx/src/main/org/jboss/resource/RARMetaData.java
  
  Index: RARMetaData.java
  ===================================================================
  RCS file: /cvsroot/jboss/jbosscx/src/main/org/jboss/resource/RARMetaData.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- RARMetaData.java  2001/09/11 18:38:58     1.9
  +++ RARMetaData.java  2001/11/01 20:56:27     1.10
  @@ -25,7 +25,7 @@
    *
    * @author     Toby Allsopp ([EMAIL PROTECTED])
    * @see        RARDeployer
  - * @version    $Revision: 1.9 $
  + * @version    $Revision: 1.10 $
    */
   public class RARMetaData
   //   extends Y
  @@ -364,6 +364,22 @@
                  "'");
         }
         reauthenticationSupport = Boolean.valueOf(value).booleanValue();
  +   }
  +
  +   private void setSecurityPermission(Element element)
  +      throws DeploymentException
  +   {
  +      try
  +      {
  +         Element permSpec = MetaData.getUniqueChild(element,
  +            "security-permission-spec");
  +         String spec = getElementContent(permSpec);
  +         category.debug("Ignoring security-permission("+spec+")");
  +      }
  +      catch (org.jboss.ejb.DeploymentException de)
  +      {
  +         throw new DeploymentException(de.getMessage(), de.getCause());
  +      }
      }
   
      private String getElementContent(Element element)
  
  
  

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

Reply via email to