Package org.apache.cocoon.components.repository

Examples of org.apache.cocoon.components.repository.PrincipalProvider.addPrincipal()


            principalprovider = (PrincipalProvider)principalproviders.select(principal_provider);

            Principal caller = new Principal(caller_principal_name, caller_principal_password);
            Principal principal = new Principal(principal_name, principal_role, principal_password);

            principalprovider.addPrincipal(caller, principal);
        } catch (ComponentException ce) {
            if (getLogger().isDebugEnabled())
                getLogger().debug("Could not lookup for component.", ce);
            throw new ProcessingException("Could not lookup for component.", ce);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.