Package org.opensaml.xacml.policy

Examples of org.opensaml.xacml.policy.ActionsType


    }

    /** {@inheritDoc} */
    protected void processChildElement(XMLObject parentXMLObject, XMLObject childXMLObject)
            throws UnmarshallingException {
        ActionsType actionType = (ActionsType) parentXMLObject;
       
        if(childXMLObject instanceof ActionType){
            actionType.getActions().add((ActionType)childXMLObject);
        } else {
            super.processChildElement(parentXMLObject, childXMLObject);
        }
    }
View Full Code Here


        if (action == null) {
            return null;
        }

        ActionsType actions = build();
        actions.getActions().add(action);
       
        return actions;
    }
View Full Code Here

       
        if (actionList.isEmpty()) {
            return null;
        }

        ActionsType actions = build();

        for (ActionType action : actionList) {
            actions.getActions().add(action);
        }
        return actions;
    }
View Full Code Here

                attributeList.addAll(ResourceMatchHelper.getAttributeList(resourceList.get(0).getResourceMatches()));
            }
        }

        // get actions
        ActionsType actions = target.getActions();

        if (actions != null) {
            List<ActionType> actionList = actions.getActions();

            if (!actionList.isEmpty()) {

                if (actionList.size() > 1) {
                    throw new UnsupportedTargetException("Only one ActionType is allowed");
View Full Code Here

            }
        }

        SubjectsType subjects = SubjectsHelper.build(SubjectHelper.build(subjectMatchTypeList));
        ResourcesType resources = ResourcesHelper.build(ResourceHelper.build(resourceMatchTypeList));
        ActionsType actions = ActionsHelper.build(ActionHelper.build(actionMatchTypeList));
        EnvironmentsType environments = EnvironmentsHelper.build(EnvironmentHelper.build(environmentMatchTypeList));

        target = TargetHelper.build(subjects, actions, resources, environments);
    }
View Full Code Here

TOP

Related Classes of org.opensaml.xacml.policy.ActionsType

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.