Interface XACMLRequestBuilder

  • All Known Implementing Classes:
    DefaultXACMLRequestBuilder

    public interface XACMLRequestBuilder
    This interface defines a way to create an XACML 2.0 Request using OpenSAML
    • Method Detail

      • createRequest

        org.opensaml.xacml.ctx.RequestType createRequest​(Principal principal,
                                                         List<String> roles,
                                                         Message message)
                                                  throws Exception
        Create an XACML Request given a Principal, list of roles and Message.
        Parameters:
        principal - The principal to insert into the Subject of the Request
        roles - The list of roles associated with the principal
        message - The Message from which to retrieve the resource
        Returns:
        An OpenSAML RequestType object
        Throws:
        Exception