public abstract class AbstractSTSService extends Object implements STSService
Implementation of STSService
Modifier and Type | Field and Description |
---|---|
static String |
HOK_METHOD
The Constant HOK_METHOD.
|
static String |
SV_METHOD
The Constant SV_METHOD.
|
Constructor and Description |
---|
AbstractSTSService() |
Modifier and Type | Method and Description |
---|---|
Element |
getToken(Credential headerCredentials,
Credential bodyCredentials,
List<SAMLAttribute> attributes,
List<SAMLAttributeDesignator> designators,
String subjectConfirmationMethod,
int validity)
Gets the token.
|
Element |
getToken(Credential headerCredentials,
Credential bodyCredentials,
List<SAMLAttribute> attributes,
List<SAMLAttributeDesignator> designators,
String authenticationMethod,
String nameQualifier,
String value,
String subjectConfirmationMethod,
int validity) |
Element |
renewToken(Credential headerCredentials,
Credential bodyCredentials,
Element samlToken,
int validity) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getToken, getToken, renewToken
public static final String HOK_METHOD
public static final String SV_METHOD
public Element getToken(Credential headerCredentials, Credential bodyCredentials, List<SAMLAttribute> attributes, List<SAMLAttributeDesignator> designators, String subjectConfirmationMethod, int validity) throws TechnicalConnectorException
STSService
getToken
in interface STSService
headerCredentials
- Credentials used for securing the SOAP request message.bodyCredentials
- Credentials used for securing the SAML request.attributes
- List of Attributes containing user/organization information.designators
- List of Designators.validity
- the validity Validity of the session in hours.TechnicalConnectorException
- the technical connector exceptionpublic Element getToken(Credential headerCredentials, Credential bodyCredentials, List<SAMLAttribute> attributes, List<SAMLAttributeDesignator> designators, String authenticationMethod, String nameQualifier, String value, String subjectConfirmationMethod, int validity) throws TechnicalConnectorException
getToken
in interface STSService
TechnicalConnectorException
public Element renewToken(Credential headerCredentials, Credential bodyCredentials, Element samlToken, int validity) throws TechnicalConnectorException
renewToken
in interface STSService
TechnicalConnectorException
Connector Packaging TRUSSMAKER 4.1.2 API
Copyright © {inceptionYear}-2022 eHealth. All Rights Reserved.