Class RequestComponentBuilder


  • public final class RequestComponentBuilder
    extends Object
    A set of utility methods to construct XACML 2.0 Request statements
    • Method Detail

      • createAttributeValueType

        public static org.opensaml.xacml.ctx.AttributeValueType createAttributeValueType​(String value)
      • createAttributeType

        public static org.opensaml.xacml.ctx.AttributeType createAttributeType​(String attributeId,
                                                                               String dataType,
                                                                               String issuer,
                                                                               List<org.opensaml.xacml.ctx.AttributeValueType> attributeValues)
      • createSubjectType

        public static org.opensaml.xacml.ctx.SubjectType createSubjectType​(List<org.opensaml.xacml.ctx.AttributeType> attributes,
                                                                           String subjectCategory)
      • createResourceType

        public static org.opensaml.xacml.ctx.ResourceType createResourceType​(List<org.opensaml.xacml.ctx.AttributeType> attributes,
                                                                             org.opensaml.xacml.ctx.ResourceContentType resourceContent)
      • createActionType

        public static org.opensaml.xacml.ctx.ActionType createActionType​(List<org.opensaml.xacml.ctx.AttributeType> attributes)
      • createEnvironmentType

        public static org.opensaml.xacml.ctx.EnvironmentType createEnvironmentType​(List<org.opensaml.xacml.ctx.AttributeType> attributes)
      • createRequestType

        public static org.opensaml.xacml.ctx.RequestType createRequestType​(List<org.opensaml.xacml.ctx.SubjectType> subjects,
                                                                           List<org.opensaml.xacml.ctx.ResourceType> resources,
                                                                           org.opensaml.xacml.ctx.ActionType action,
                                                                           org.opensaml.xacml.ctx.EnvironmentType environment)