Examples of JASPIAuthenticationPolicyBean


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
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.