be.ehealth.technicalconnector.service.sts
Class SAMLTokenFactory

java.lang.Object
  extended by be.ehealth.technicalconnector.service.sts.SAMLTokenFactory

public final class SAMLTokenFactory
extends Object

A factory for creating SAMLToken objects.


Method Summary
 SAMLToken createSamlToken(Element assertion, Credential credential)
          Creates a new SAMLToken object.
static SAMLTokenFactory getInstance()
          Gets the single instance of SAMLTokenFactory.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static SAMLTokenFactory getInstance()
Gets the single instance of SAMLTokenFactory.

Returns:
single instance of SAMLTokenFactory

createSamlToken

public SAMLToken createSamlToken(Element assertion,
                                 Credential credential)
Creates a new SAMLToken object.

Parameters:
assertion - the assertion
credential - the credential
Returns:
the SAML token



Connector Packaging TECHNICAL 3.14.2 API
Copyright © {inceptionYear}-2018 eHealth. All Rights Reserved.