Package org.jboss.security.microcontainer.beans

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


      ApplicationPolicyBean policyBean2 = (ApplicationPolicyBean) super.getBean("TestPolicy2");
      assertNotNull("ApplicationPolicyBean TestPolicy2 not found", policyBean2);
      assertNotNull("Unexpected null jaspi authentication policy found", policyBean2.getAuthenticationPolicy());

      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
View Full Code Here


   {
      // validate the basic application policy creation.
      super.testApplicationPoliciesCreation();

      // check the regular beans have been instantiated.
      AuthenticationPolicyBean authBean = (AuthenticationPolicyBean) super.getBean("RegularBean$AuthenticationPolicy");
      assertNotNull("Authentication policy bean not found", authBean);

      ApplicationPolicyBean appPolicyBean = (ApplicationPolicyBean) super.getBean("RegularBean");
      assertNotNull("Application policy bean not found", appPolicyBean);
      assertEquals("Incorrect policy name", "RegularBean", appPolicyBean.getName());
View Full Code Here

TOP

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

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.