Package org.jboss.security.microcontainer.beans

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


      assertNotNull("Unexpected null identity-trust policy found", policyBean1.getIdentityTrustPolicy());

      ApplicationPolicyBean policyBean2 = (ApplicationPolicyBean) super.getBean("TestPolicy2");
      assertNotNull("Unexpected null identity-trust policy found", policyBean2.getIdentityTrustPolicy());

      IdentityTrustPolicyBean trustBean = (IdentityTrustPolicyBean) super.getBean("TestPolicy1$IdentityTrustPolicy");
      // assert the bean retrieved from the microcontainer is the same that has been injected into the app policy.
      assertEquals(policyBean1.getIdentityTrustPolicy(), trustBean);
      BeanValidator.validateIdentityTrustBean(trustBean);

      trustBean = (IdentityTrustPolicyBean) super.getBean("TestPolicy2$IdentityTrustPolicy");
View Full Code Here

TOP

Related Classes of org.jboss.security.microcontainer.beans.IdentityTrustPolicyBean

Copyright © 2018 www.massapicom. 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.