Package org.glite.authz.pap.services

Examples of org.glite.authz.pap.services.HighLevelPolicyManagementServiceException


        }

        Pap pap = PapManager.getInstance().getPap(alias);

        if (pap.isRemote()) {
            throw new HighLevelPolicyManagementServiceException("Forbidden operation for a remote PAP");
        }

        PapContainer papContainer = new PapContainer(pap);

        if (purgeUnreferencedPolicies) {
View Full Code Here


        // Skipping the first policy set as it is the root policy set.
        for (int i = 1; i < policySetList.size(); i++) {
            PolicySetType policySet = policySetList.get(i);
            if (resourceValue.equals(PolicySetWizard.getResourceValue(policySet))) {
                if (targetPolicySet != null) {
                    throw new HighLevelPolicyManagementServiceException("More than one resource policy sets match the given resource id!");
                }
                targetPolicySet = policySet;
            }
        }
       
View Full Code Here

        for (String policyId : policyIdList) {
            PolicyType policy = papContainer.getPolicy(policyId);
           
            if (actionValue.equals(PolicyWizard.getActionValue(policy))) {
                if (targetPolicy != null) {
                    throw new HighLevelPolicyManagementServiceException("More than one action with the same value");
                }
                targetPolicy = policy;
            }
        }
       
View Full Code Here

TOP

Related Classes of org.glite.authz.pap.services.HighLevelPolicyManagementServiceException

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.