Package org.jboss.security.microcontainer.beans

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


      AuthenticationPolicyBean authBean = (AuthenticationPolicyBean) super.getBean("TestPolicy1$AuthenticationPolicy");
      // assert the bean retrieved from the microcontainer is the same that has been injected into the app policy.
      assertEquals(policyBean1.getAuthenticationPolicy(), authBean);
      BeanValidator.validateAuthenticationBean(authBean);

      JASPIAuthenticationPolicyBean jaspiAuthBean = (JASPIAuthenticationPolicyBean) super
            .getBean("TestPolicy2$JASPIAuthenticationPolicy");
      assertEquals(policyBean2.getAuthenticationPolicy(), jaspiAuthBean);
      BeanValidator.validateJaspiAuthenticationBean(jaspiAuthBean);

      // verify that the application policies have been created in the security layer and validate their contents.
View Full Code Here

TOP

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

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.