Package org.springframework.osgi.context

Examples of org.springframework.osgi.context.ConfigurableOsgiBundleApplicationContext


      logger.debug("No configuration admin service found while looking for security configuration");
    }

    // Create the spring security context
    URL securityConfig = bundleCtx.getBundle().getResource(SECURITY_CONFIG_FILE);
    ConfigurableOsgiBundleApplicationContext springContext = null;
    springContext = new OsgiBundleXmlApplicationContext(new String[] { securityConfig.toExternalForm() });
    springContext.setBundleContext(bundleCtx);
    springContext.refresh();

    // Get the security filter chain from the spring context
    Filter defaultSecurityFilter = (Filter) springContext.getBean("springSecurityFilterChain");
    securityFilter = new SecurityFilter(securityService, sites, defaultSecurityFilter);

    // Create the web console security provider
    webConsoleProvider = new WebloungeWebConsoleSecurityProvider(securityService);
View Full Code Here

TOP

Related Classes of org.springframework.osgi.context.ConfigurableOsgiBundleApplicationContext

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.