Examples of ACLPolicyBean


Examples of org.jboss.security.microcontainer.beans.ACLPolicyBean

      assertNotNull("Unexpected null acl policy found", policyBean1.getAclPolicy());

      ApplicationPolicyBean policyBean2 = (ApplicationPolicyBean) super.getBean("TestPolicy2");
      assertNotNull("Unexpected null acl policy found", policyBean2.getAclPolicy());

      ACLPolicyBean aclBean = (ACLPolicyBean) super.getBean("TestPolicy1$ACLPolicy");
      // assert the bean retrieved from the microcontainer is the same that has been injected into the app policy.
      assertEquals(policyBean1.getAclPolicy(), aclBean);
      BeanValidator.validateACLBean(aclBean);

      aclBean = (ACLPolicyBean) super.getBean("TestPolicy2$ACLPolicy");
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.