Package org.zanata.config

Examples of org.zanata.config.JndiBackedConfig


            Map<String, ?> sharedState, Map<String, ?> options) {
        this.subject = subject;
        this.callbackHandler = callbackHandler;

        // Avoid using Seam components in Login Modules
        JndiBackedConfig jndiConfig = new JndiBackedConfig();

        internalAuthDomain =
                jndiConfig.getAuthPolicyName(AuthenticationType.INTERNAL.name()
                        .toLowerCase());
        kerberosDomain =
                jndiConfig.getAuthPolicyName(AuthenticationType.KERBEROS.name()
                        .toLowerCase());
        openIdDomain =
                jndiConfig.getAuthPolicyName(AuthenticationType.OPENID.name()
                        .toLowerCase());
        jaasDomain =
                jndiConfig.getAuthPolicyName(AuthenticationType.JAAS.name()
                        .toLowerCase());
    }
View Full Code Here

TOP

Related Classes of org.zanata.config.JndiBackedConfig

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.