be.ehealth.technicalconnector.service.sts.utils
Class SAMLConverter

java.lang.Object
  extended by be.ehealth.technicalconnector.service.sts.utils.SAMLConverter

public final class SAMLConverter
extends Object

The Class SAMLConverter.


Method Summary
static Element convert(Source stsResponse)
          Method to convert a Source object to an Element object.
static Element toElement(String assertion)
          Method to convert an xml String to an Element object
static String toXMLString(Element element)
          Method to convert an Element object to a String representation
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

toElement

public static Element toElement(String assertion)
                         throws TechnicalConnectorException
Method to convert an xml String to an Element object

Parameters:
assertion - the assertion
Returns:
the element
Throws:
TechnicalConnectorException - the technical connector exception

toXMLString

public static String toXMLString(Element element)
                          throws TechnicalConnectorException
Method to convert an Element object to a String representation

Parameters:
element - the element
Returns:
the string
Throws:
TechnicalConnectorException - the technical connector exception

convert

public static Element convert(Source stsResponse)
                       throws TechnicalConnectorException
Method to convert a Source object to an Element object.

Parameters:
stsResponse - the sts response
Returns:
the element
Throws:
TechnicalConnectorException - the technical connector exception



Connector Business ORGPHARMACY 3.10.2 API
Copyright © {inceptionYear}-2016 eHealth. All Rights Reserved.