eu.semiramis.policyManager.util.opensaml
Class XACMLResponseUtils

java.lang.Object
  extended by eu.semiramis.policyManager.util.opensaml.XACMLResponseUtils

public class XACMLResponseUtils
extends java.lang.Object

Utility methods to deal with openSAML XACML Responses

Author:
Paolo Roccetti

Constructor Summary
XACMLResponseUtils()
           
 
Method Summary
static org.opensaml.xacml.ctx.ResponseType deserialize(java.io.InputStream responseStream)
          Deserialize a XACML response from a stream
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XACMLResponseUtils

public XACMLResponseUtils()
Method Detail

deserialize

public static org.opensaml.xacml.ctx.ResponseType deserialize(java.io.InputStream responseStream)
                                                       throws org.opensaml.xml.parse.XMLParserException,
                                                              org.opensaml.xml.io.UnmarshallingException
Deserialize a XACML response from a stream

Parameters:
responseStream - the stream containing the XACML response
Throws:
org.opensaml.xml.parse.XMLParserException - if an exception occurs during parsing
org.opensaml.xml.io.UnmarshallingException - if an exception occus during unmarshalling