Package org.apache.cocoon.webapps.authentication.components

Examples of org.apache.cocoon.webapps.authentication.components.Handler


                              ComponentManager manager)
    throws ProcessingException {
        AuthenticationManager authManager = null;
        try {
            authManager = (AuthenticationManager)manager.lookup(AuthenticationManager.ROLE);
            Handler handler = authManager.getHandler();
            this.name = contextName;
            this.authContext = context;
            this.handlerName = handlerName;
            this.applicationName = applicationName;
            this.authLoadResource = handler.getLoadResource();
            this.authSaveResource = handler.getSaveResource();
            this.authLoadResourceParameters = handler.getLoadResourceParameters();
            this.authSaveResourceParameters = handler.getSaveResourceParameters();
            if (this.applicationName != null) {
                ApplicationHandler appHandler = (ApplicationHandler)handler.getApplications().get(this.applicationName);
                this.loadResource = appHandler.getLoadResource();
                this.saveResource = appHandler.getSaveResource();
                this.loadResourceParameters = appHandler.getLoadResourceParameters();
                this.saveResourceParameters = appHandler.getSaveResourceParameters();
            }
View Full Code Here

TOP

Related Classes of org.apache.cocoon.webapps.authentication.components.Handler

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.