org.glite.authz.common.context
Class DecisionRequestContextHelper

java.lang.Object
  extended by org.glite.authz.common.context.DecisionRequestContextHelper

public class DecisionRequestContextHelper
extends java.lang.Object

Helper class for the XACML decision request message context


Constructor Summary
DecisionRequestContextHelper()
           
 
Method Summary
static DecisionRequestContext buildMessageContext(java.lang.String messageIssuerId)
          Builds a DecisionRequestContext.
static org.opensaml.ws.soap.soap11.Envelope buildSOAPMessage(java.lang.String messageIssuerId, DecisionRequestContext messageContext, org.opensaml.xacml.ctx.RequestType xacmlRequest)
          Creates a SOAP message within which lies the XACML request and set it as outbound message in the message context.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DecisionRequestContextHelper

public DecisionRequestContextHelper()
Method Detail

buildMessageContext

public static DecisionRequestContext buildMessageContext(java.lang.String messageIssuerId)
Builds a DecisionRequestContext. The communication profileID used is .

Parameters:
messageIssuerId - The entityID of the message issuer
Returns:

buildSOAPMessage

public static org.opensaml.ws.soap.soap11.Envelope buildSOAPMessage(java.lang.String messageIssuerId,
                                                                    DecisionRequestContext messageContext,
                                                                    org.opensaml.xacml.ctx.RequestType xacmlRequest)
Creates a SOAP message within which lies the XACML request and set it as outbound message in the message context.

Parameters:
messageIssuerId - The entityID of the message issuer
messageContext - current request context
xacmlRequest - the XACML authorization request to be sent
Returns:
the generated SOAP envelope containing the message


Copyright © 2008-2012 EMI - European Middleware Initiative. All Rights Reserved.