Package cgl.shindig.config

Examples of cgl.shindig.config.SecurityConfig


            //FIXME: Only should ignore the exception when the subsystem is 'osg'
            log.warn("Exception was thrown during invocation of method '" +
                    "createSystemUsers" + "'.", ex);
        }

        SecurityConfig config = this.portal.getConfig().getSecurityConfig();
        LoginModuleConfig loginModConf = config.getLoginModuleConfig();

        // build AuthContextProvider based on appName + optional LoginModuleConfig
        authContextProvider = new AuthContextProvider(config.getAppName(), loginModConf);
        if (authContextProvider.isLocal()) {
            log.info("init: use Portal Login-Configuration for " + config.getAppName());
        } else if (authContextProvider.isJAAS()) {
            log.info("init: use JAAS login-configuration for " + config.getAppName());
        } else {
            String msg = "Neither JAAS nor RepositoryConfig contained a valid Configuriation for " + config.getAppName();
            log.error(msg);
            throw new Exception(msg);
        }

        Properties[] moduleConfig = authContextProvider.getModuleConfig();
View Full Code Here

TOP

Related Classes of cgl.shindig.config.SecurityConfig

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.