Package org.wildfly.extension.undertow.security.jaspi

Examples of org.wildfly.extension.undertow.security.jaspi.JASPIAuthenticationMechanism


            String authMethod = null;
            LoginConfig loginConfig = deploymentInfo.getLoginConfig();
            if (loginConfig != null && loginConfig.getAuthMethods().size() > 0)
                authMethod = loginConfig.getAuthMethods().get(0).getName();

            deploymentInfo.setJaspiAuthenticationMechanism(new JASPIAuthenticationMechanism(this.securityDomain, authMethod));
            deploymentInfo.setSecurityContextFactory(new JASPICSecurityContextFactory(this.securityDomain));
        }
    }
View Full Code Here

TOP

Related Classes of org.wildfly.extension.undertow.security.jaspi.JASPIAuthenticationMechanism

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.