issrg.utils.handler
Class SamlXacmlNormalise

java.lang.Object
  extended by issrg.utils.handler.SamlXacmlNormalise

public class SamlXacmlNormalise
extends java.lang.Object

this is for formatting XACML request and response into the format, which is defined by SAML-XACML profile 2.0.

Author:
Linying Su

Constructor Summary
SamlXacmlNormalise()
           
 
Method Summary
 org.w3c.dom.Element process(org.w3c.dom.Node xacmlIn)
          this is the main method to format the input XML element to have the prefix "xacml-context" for the / tag also to bind the XACML Context name space definition with it.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SamlXacmlNormalise

public SamlXacmlNormalise()
                   throws HandlerServiceException
Throws:
HandlerServiceException
Method Detail

process

public org.w3c.dom.Element process(org.w3c.dom.Node xacmlIn)
                            throws HandlerServiceException
this is the main method to format the input XML element to have the prefix "xacml-context" for the / tag also to bind the XACML Context name space definition with it.

Parameters:
xacmlIn, - the input XML, which can be XACML Request or Response.
Returns:
the output XML, which is the normalised Request or Response.
Throws:
HandlerServiceException