Examples of MappingPolicyBean


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

      assertNotNull("Unexpected null mapping policy found", policyBean1.getMappingPolicy());

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

      MappingPolicyBean mappingBean = (MappingPolicyBean) super.getBean("TestPolicy1$MappingPolicy");
      // assert the bean retrieved from the microcontainer is the same that has been injected into the app policy.
      assertEquals(policyBean1.getMappingPolicy(), mappingBean);
      BeanValidator.validateMappingBean(mappingBean);

      mappingBean = (MappingPolicyBean) super.getBean("TestPolicy2$MappingPolicy");
View Full Code Here

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

      assertNotNull("Unexpected null role-mapping policy found", policyBean1.getRoleMappingPolicy());

      ApplicationPolicyBean policyBean2 = (ApplicationPolicyBean) super.getBean("TestPolicy2");
      assertNotNull("Unexpected null role-mapping policy found", policyBean2.getRoleMappingPolicy());

      MappingPolicyBean mappingBean = (MappingPolicyBean) super.getBean("TestPolicy1$RoleMappingPolicy");
      // assert the bean retrieved from the microcontainer is the same that has been injected into the app policy.
      assertEquals(policyBean1.getRoleMappingPolicy(), mappingBean);
      BeanValidator.validateRoleMappingBean(mappingBean);

      mappingBean = (MappingPolicyBean) super.getBean("TestPolicy2$RoleMappingPolicy");
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.