Package org.apache.cocoon.webapps.authentication.context

Examples of org.apache.cocoon.webapps.authentication.context.AuthenticationContextProvider


        ContextManager contextManager;
       
        contextManager = (ContextManager) this.manager.lookup(ContextManager.ROLE);
        // add the provider for the authentication context
        try {
            AuthenticationContextProvider contextProvider = new AuthenticationContextProvider();
            contextManager.addSessionContextProvider(contextProvider, AuthenticationConstants.SESSION_CONTEXT_NAME);
        } catch (ProcessingException local) {
            throw new ServiceException("Unable to register provider for authentication context.", local);
        }
  }
View Full Code Here

TOP

Related Classes of org.apache.cocoon.webapps.authentication.context.AuthenticationContextProvider

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.