Examples of PrivilegeReplicationRequestAuthorizationStrategy


Examples of org.apache.sling.replication.agent.impl.PrivilegeReplicationRequestAuthorizationStrategy

            String name = PropertiesUtil.toString(properties.get(COMPONENT_NAME), null);
            return componentProvider.getComponent(ReplicationRequestAuthorizationStrategy.class, name);

        } else if (REQUEST_AUTHORIZATION_STRATEGY_PRIVILEGE.equals(factory)) {
            String jcrPrivilege = PropertiesUtil.toString(properties.get(REQUEST_AUTHORIZATION_STRATEGY_PRIVILEGE_PROPERTY_JCR_PRIVILEGE), null);
            return new PrivilegeReplicationRequestAuthorizationStrategy(jcrPrivilege);
        }

        return null;
    }
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.