be.ehealth.technicalconnector.service.sts.impl
Class STSServiceImpl
java.lang.Object
be.ehealth.technicalconnector.service.sts.impl.AbstractSTSService
be.ehealth.technicalconnector.service.sts.impl.STSServiceImpl
- All Implemented Interfaces:
- STSService
public class STSServiceImpl
- extends AbstractSTSService
The eHealth-platform Secure Token Service provides a web service interface to request a SAML Assertion token using the Request Secure
Token operation. The service provided via this technical connector allows the invocation of this operation based on specific input
parameters. Based on these parameters, a signed SAML request is created and sent to the eHealth-platform service.
Extends: AbstractSTSService
=> Implements : STSService
Method Summary |
Element |
getToken(Credential headerCredentials,
Credential bodyCredentials,
List<SAMLAttribute> attributes,
List<SAMLAttributeDesignator> designators,
String subjectConfirmationMethod,
Duration validity)
|
Element |
getToken(Credential headerCredentials,
Credential bodyCredentials,
List<SAMLAttribute> attributes,
List<SAMLAttributeDesignator> designators,
String authenticationMethod,
String nameQualifier,
String value,
String subjectConfirmationMethod,
Duration validity)
|
Element |
renewToken(Credential headerCredentials,
Credential bodyCredentials,
Element samlToken,
Duration validity)
|
HOK_KEYINFO_TYPE
public static final String HOK_KEYINFO_TYPE
- Property to specify the
Possible values: publickey, x509
Default: x509
- See Also:
- Constant Field Values
ALWAYS_SIGN_INNER_REQUEST
public static final String ALWAYS_SIGN_INNER_REQUEST
- Property to specify the specify if the inner request must be signed if the HeaderCredentials and BodyCredentials are the same.
Default: false
- See Also:
- Constant Field Values
STSServiceImpl
public STSServiceImpl()
getToken
public Element getToken(Credential headerCredentials,
Credential bodyCredentials,
List<SAMLAttribute> attributes,
List<SAMLAttributeDesignator> designators,
String authenticationMethod,
String nameQualifier,
String value,
String subjectConfirmationMethod,
Duration validity)
throws TechnicalConnectorException
- Throws:
TechnicalConnectorException
getToken
public Element getToken(Credential headerCredentials,
Credential bodyCredentials,
List<SAMLAttribute> attributes,
List<SAMLAttributeDesignator> designators,
String subjectConfirmationMethod,
Duration validity)
throws TechnicalConnectorException
- Throws:
TechnicalConnectorException
renewToken
public Element renewToken(Credential headerCredentials,
Credential bodyCredentials,
Element samlToken,
Duration validity)
throws TechnicalConnectorException
- Throws:
TechnicalConnectorException
Connector Packaging TECHNICAL 3.25.0 API
Copyright © {inceptionYear}-2023 eHealth. All Rights Reserved.