Package org.glite.authz.pap.common.xacml.wizard

Examples of org.glite.authz.pap.common.xacml.wizard.AttributeWizard


        try {
            synchronized (ServicesUtils.highLevelOperationLock) {
                List<AttributeWizard> attributeWizardList = new ArrayList<AttributeWizard>(attributeList.length);

                for (String attribute : attributeList) {
                    attributeWizardList.add(new AttributeWizard(attribute));
                }

                return AddRuleOperation.instance(papAlias,
                                                 isPermit,
                                                 attributeWizardList,
View Full Code Here


                               value,
                               resource,
                               action,
                               isPublic));
        try {
            AttributeWizard banAttributeWizard = new AttributeWizard(id, value);
            AttributeWizard resourceAttributeWizard = new AttributeWizard(AttributeWizardTypeConfiguration.getInstance()
                                                                                                          .getResourceAttributeWizard(),
                                                                          resource);
            AttributeWizard actionAttributeWizard = new AttributeWizard(AttributeWizardTypeConfiguration.getInstance()
                                                                                                        .getActionAttributeWizard(),
                                                                        action);
            synchronized (ServicesUtils.highLevelOperationLock) {
                return BanOperation.instance(papAlias,
                                             banAttributeWizard,
View Full Code Here

                               value,
                               resource,
                               action));
        try {

            AttributeWizard bannedAttributeWizard = new AttributeWizard(id, value);
            AttributeWizard resourceAttributeWizard = new AttributeWizard(AttributeWizardTypeConfiguration.getInstance()
                                                                                                          .getResourceAttributeWizard(),
                                                                          resource);
            AttributeWizard actionAttributeWizard = new AttributeWizard(AttributeWizardTypeConfiguration.getInstance()
                                                                                                        .getActionAttributeWizard(),
                                                                        action);
            synchronized (ServicesUtils.highLevelOperationLock) {
                return UnbanOperation.instance(papAlias,
                                               bannedAttributeWizard,
View Full Code Here

    List<String> attributeList = new LinkedList<String>();

    for (int i = 2; i < args.length; i++) {

      try {
        new AttributeWizard(args[i]);
        attributeList.add(args[i]);
      } catch (UnsupportedAttributeException e) {
        break;
      }
    }
View Full Code Here

     * @param bottom
     * @return the resource id.
     */
    private String createResource(PapContainer papContainer, String resourceValue, boolean bottom) {

      PolicySetWizard psWizard = new PolicySetWizard(new AttributeWizard("resource", resourceValue));
     
      if (obligationValue!= null && obligationScope.equals(ObligationScopeType.resource))
        psWizard.addObligation(new ObligationWizard(obligationValue))
     
        PolicySetType resource = psWizard.getXACML();
View Full Code Here

     * @return the id of the created action.
     */
    private String createAction(PapContainer papContainer, String resourceId, String actionValue,
            boolean bottom) {

      PolicyWizard pw = new PolicyWizard(new AttributeWizard("action", actionValue));
     
      if (obligationValue != null && obligationScope.equals(ObligationScopeType.action)){
        pw.addObligation(new ObligationWizard(obligationValue));
      }
     
View Full Code Here

TOP

Related Classes of org.glite.authz.pap.common.xacml.wizard.AttributeWizard

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.