|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbe.ehealth.technicalconnector.service.sts.impl.AbstractSTSService
be.ehealth.technicalconnector.service.sts.impl.STSServiceImpl
public class STSServiceImpl
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
Field Summary | |
---|---|
static 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. |
static String |
HOK_KEYINFO_TYPE
Property to specify the |
Fields inherited from class be.ehealth.technicalconnector.service.sts.impl.AbstractSTSService |
---|
HOK_METHOD, SV_METHOD |
Constructor Summary | |
---|---|
STSServiceImpl()
|
Method Summary | |
---|---|
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)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String HOK_KEYINFO_TYPE
Possible values: publickey, x509
Default: x509
public static final String ALWAYS_SIGN_INNER_REQUEST
Default: false
Constructor Detail |
---|
public STSServiceImpl()
Method Detail |
---|
public Element getToken(Credential headerCredentials, Credential bodyCredentials, List<SAMLAttribute> attributes, List<SAMLAttributeDesignator> designators, String authenticationMethod, String nameQualifier, String value, String subjectConfirmationMethod, int validity) throws TechnicalConnectorException
TechnicalConnectorException
public Element getToken(Credential headerCredentials, Credential bodyCredentials, List<SAMLAttribute> attributes, List<SAMLAttributeDesignator> designators, String subjectConfirmationMethod, int validity) throws TechnicalConnectorException
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 renewToken(Credential headerCredentials, Credential bodyCredentials, Element samlToken, int validity) throws TechnicalConnectorException
TechnicalConnectorException
be.ehealth.technicalconnector.service.sts.STSService#renewToken(be.ehealth.technicalconnector.service.sts.security.Credential,
be.ehealth.technicalconnector.service.sts.security.Credential, org.w3c.dom.Element, java.lang.String)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |