Examples of ActionType


Examples of org.opensaml.xacml.ctx.ActionType

                    null,
                    Collections.singletonList(actionAttributeValue)
            );
        attributes.clear();
        attributes.add(actionAttribute);
        ActionType action = RequestComponentBuilder.createActionType(attributes);
       
        // Request
        RequestType request =
            RequestComponentBuilder.createRequestType(
                    Collections.singletonList(subject),
View Full Code Here

Examples of org.opensaml.xacml.ctx.ActionType

        SubjectType subjectType = createSubjectType(principal, roles, issuer);
        ResourceType resourceType = createResourceType(messageParser);
        AttributeType actionAttribute = createAttribute(XACMLConstants.ACTION_ID, XACMLConstants.XS_STRING,
                                                        null, actionToUse);
        ActionType actionType = RequestComponentBuilder.createActionType(Collections.singletonList(actionAttribute));

        return RequestComponentBuilder.createRequestType(Collections.singletonList(subjectType),
                                                         Collections.singletonList(resourceType),
                                                         actionType,
                                                         createEnvironmentType());
View Full Code Here

Examples of org.opensaml.xacml.ctx.ActionType

                    null,
                    Collections.singletonList(actionAttributeValue)
            );
        attributes.clear();
        attributes.add(actionAttribute);
        ActionType actionType = RequestComponentBuilder.createActionType(attributes);
       
        // Environment
        attributes.clear();
        if (sendDateTime) {
            DateTime dateTime = new DateTime();
View Full Code Here

Examples of org.opensaml.xacml.ctx.ActionType

        super(targetNamespaceURI, targetLocalName);
    }

    /** {@inheritDoc} */
    protected void processChildElement(XMLObject parentObject, XMLObject childObject) throws UnmarshallingException {
        ActionType action = (ActionType) parentObject;

        if (childObject instanceof AttributeType) {
            action.getAttributes().add((AttributeType) childObject);
        } else {
            super.processChildElement(parentObject, childObject);
        }
    }
View Full Code Here

Examples of org.opensaml.xacml.ctx.ActionType

    ) {
        if (actionTypeBuilder == null) {
            actionTypeBuilder = (XACMLObjectBuilder<ActionType>)
                builderFactory.getBuilder(ActionType.DEFAULT_ELEMENT_NAME);
        }
        ActionType action = actionTypeBuilder.buildObject();
        if (attributes != null) {
            action.getAttributes().addAll(attributes);
        }
       
        return action;
    }
View Full Code Here

Examples of org.opensaml.xacml.policy.ActionType

    }

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

Examples of org.opensaml.xacml.policy.ActionType

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

        ActionType action = build();

        for (ActionMatchType actionMatch : actionMatchList) {
            action.getActionMatches().add(actionMatch);
        }

        return action;
    }
View Full Code Here

Examples of org.zkoss.zest.annotation.ActionType

    return false;
  }
  private static boolean parameterIgnored(Object action) {
    if (action instanceof ParameterIgnored)
      return true;
    ActionType annot = action.getClass().getAnnotation(ActionType.class);
    return annot != null && annot.parameterIgnored();
  }
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.