User: stark   
  Date: 01/03/13 12:32:13

  Modified:    src/resources/security/META-INF ejb-jar.xml
  Log:
  Add test of security-role-ref role-name not equalling the security-role
  role-name to test role-link element.
  
  Revision  Changes    Path
  1.2       +7 -3      jbosstest/src/resources/security/META-INF/ejb-jar.xml
  
  Index: ejb-jar.xml
  ===================================================================
  RCS file: 
/products/cvs/ejboss/jbosstest/src/resources/security/META-INF/ejb-jar.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ejb-jar.xml       2001/03/05 10:11:45     1.1
  +++ ejb-jar.xml       2001/03/13 20:32:13     1.2
  @@ -23,9 +23,12 @@
         <ejb-class>org.jboss.test.security.ejb.StatelessSessionBean</ejb-class>
         <session-type>Stateless</session-type>
         <transaction-type>Container</transaction-type>
  +      <!-- Use the 'EchoCaller' role name in the bean code to test role linking
  +        with use of isCallerInRole().
  +        -->
         <security-role-ref>
  -      <role-name>Echo</role-name>
  -      <role-link>Echo</role-link>
  +          <role-name>EchoCaller</role-name>
  +          <role-link>Echo</role-link>
         </security-role-ref>
       </session>
   
  @@ -87,7 +90,8 @@
   
     <assembly-descriptor>
       <security-role>
  -      <role-name>Echo</role-name>
  +        <description>The role required to invoke the echo method</description>
  +        <role-name>Echo</role-name>
       </security-role>
   
       <method-permission>
  
  
  

Reply via email to