Examples of SAMLAuthenticationContextClass


Examples of org.picketlink.identity.federation.core.saml.v2.constants.SAMLAuthenticationContextClass

        assertNotNull(requestedAuthnContextType.getAuthnContextClassRef());
        assertFalse(requestedAuthnContextType.getAuthnContextClassRef().isEmpty());

        for (String aliasClasses: contextClasses.split(",")) {
            SAMLAuthenticationContextClass contextClass = SAMLAuthenticationContextClass.forAlias(aliasClasses);
            if (!requestedAuthnContextType.getAuthnContextClassRef().contains(contextClass.getFqn())) {
                fail("Expected authentication context class not found.");
            }
        }

        assertEquals(AuthnContextComparisonType.MINIMUM, requestedAuthnContextType.getComparison());
View Full Code Here

Examples of org.picketlink.identity.federation.core.saml.v2.constants.SAMLAuthenticationContextClass

        if (StringUtil.isNotNull(authnContextClasses)) {
            RequestedAuthnContextType requestAuthnContext = new RequestedAuthnContextType();

            for (String contextClass: authnContextClasses.split(",")) {
                SAMLAuthenticationContextClass standardClass = SAMLAuthenticationContextClass.forAlias(contextClass);

                if (standardClass != null) {
                    contextClass = standardClass.getFqn();
                }

                requestAuthnContext.addAuthnContextClassRef(contextClass);
            }
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.