# Uses of Interface
be.ehealth.technicalconnector.service.sts.security.SAMLToken

Packages that use SAMLToken
Package
Description
be.ehealth.business.common.helper
be.ehealth.businessconnector.genericasync.handlers
be.ehealth.businessconnector.genericasync.service
be.ehealth.businessconnector.genericasync.service.impl
be.ehealth.businessconnector.mycarenet.memberdatav2.service
be.ehealth.businessconnector.mycarenet.memberdatav2.service.impl
be.ehealth.technicalconnector.handler
be.ehealth.technicalconnector.handler.wss4j
be.ehealth.technicalconnector.service.sts
be.ehealth.technicalconnector.service.sts.security.impl
be.ehealth.technicalconnector.service.ws
be.ehealth.technicalconnector.session
be.ehealth.technicalconnector.session.impl
be.ehealth.technicalconnector.validator
be.ehealth.technicalconnector.validator.impl

- ## Uses of SAMLToken in be.ehealth.business.common.helper

  Methods in be.ehealth.business.common.helper with parameters of type SAMLToken
  Modifier and Type
  Method
  Description
  `static <T extends ResponseType>
  T`
  EhealthServiceHelper.`callEhealthService_1_0(SAMLToken token, GenericRequest service, Object request, Class<T> clazz, SessionValidator sessionValidator, EhealthReplyValidator ehealthReplyValidator)`
  `static <T extends ResponseType>
  T`
  EhealthServiceHelper.`callEhealthServiceV1(SAMLToken token, GenericRequest service, Object request, Class<T> clazz, SessionValidator sessionValidator, EhealthReplyValidator ehealthReplyValidator)`
  `static <T extends StatusResponseType>
  T`
  EhealthServiceHelper.`callEhealthServiceV2(SAMLToken token, GenericRequest service, Object request, Class<T> clazz, SessionValidator sessionValidator, EhealthReplyValidator ehealthReplyValidator)`

- ## Uses of SAMLToken in be.ehealth.businessconnector.genericasync.handlers

  Constructors in be.ehealth.businessconnector.genericasync.handlers with parameters of type SAMLToken
  Modifier
  Constructor
  Description
  ``
  `SAMLHolderOfKeyHandler(SAMLToken token)`
  ``
  `SAMLHolderOfKeyHandler(SAMLToken token, Duration duration)`

- ## Uses of SAMLToken in be.ehealth.businessconnector.genericasync.service

  Methods in be.ehealth.businessconnector.genericasync.service with parameters of type SAMLToken
  Modifier and Type
  Method
  Description
  `ConfirmResponse`
  GenAsyncService.`confirmRequest(SAMLToken token, Confirm request, WsAddressingHeader header)`
  Sends a Confirm request after a successful Get It only needs the SAMLtoken, no session needs to be active
  `GetResponse`
  GenAsyncService.`getRequest(SAMLToken token, Get request, WsAddressingHeader header)`
  Returns the `Responses` from the post previously sent.
  `static GenericRequest`
  ServiceFactory.`getService(SAMLToken token, String serviceName)`
  Deprecated.
  `PostResponse`
  GenAsyncService.`postRequest(SAMLToken token, Post request, WsAddressingHeader header)`
  Returns the `TAck` of the request of an operation.

- ## Uses of SAMLToken in be.ehealth.businessconnector.genericasync.service.impl

  Methods in be.ehealth.businessconnector.genericasync.service.impl with parameters of type SAMLToken
  Modifier and Type
  Method
  Description
  `ConfirmResponse`
  GenAsyncServiceImpl.`confirmRequest(SAMLToken token, Confirm request, WsAddressingHeader header)`
  `GetResponse`
  GenAsyncServiceImpl.`getRequest(SAMLToken token, Get request, WsAddressingHeader header)`
  `PostResponse`
  GenAsyncServiceImpl.`postRequest(SAMLToken token, Post request, WsAddressingHeader header)`

- ## Uses of SAMLToken in be.ehealth.businessconnector.mycarenet.memberdatav2.service

  Methods in be.ehealth.businessconnector.mycarenet.memberdatav2.service with parameters of type SAMLToken
  Modifier and Type
  Method
  Description
  `MemberDataConsultationResponse`
  MemberDataService.`consultMemberData(SAMLToken token, MemberDataConsultationRequest request)`
  Sends the consultation request to the WS and retrieves the response.
  `static GenericRequest`
  ServiceFactory.`getMemberDataSyncPort(SAMLToken token)`
  Creates a `GenericRequest` for the given SAML token and soap action
  `static GenericRequest`
  ServiceFactory.`getMemberDataSyncPort(SAMLToken token, String endpoint)`
  Creates a `GenericRequest` for the given SAML token and soap action

- ## Uses of SAMLToken in be.ehealth.businessconnector.mycarenet.memberdatav2.service.impl

  Methods in be.ehealth.businessconnector.mycarenet.memberdatav2.service.impl with parameters of type SAMLToken
  Modifier and Type
  Method
  Description
  `final MemberDataConsultationResponse`
  MemberDataServiceImpl.`consultMemberData(SAMLToken token, MemberDataConsultationRequest request)`

- ## Uses of SAMLToken in be.ehealth.technicalconnector.handler

  Methods in be.ehealth.technicalconnector.handler with parameters of type SAMLToken
  Modifier and Type
  Method
  Description
  `AbstractWsSecurityHandler.WSSecHeaderGeneratorStep3`
  AbstractWsSecurityHandler.WSSecHeaderGeneratorStep3.`withSAMLToken(SAMLToken token)`
  Constructors in be.ehealth.technicalconnector.handler with parameters of type SAMLToken
  Modifier
  Constructor
  Description
  ``
  `SAMLHolderOfKeyHandler(SAMLToken token)`

- ## Uses of SAMLToken in be.ehealth.technicalconnector.handler.wss4j

  Methods in be.ehealth.technicalconnector.handler.wss4j with parameters of type SAMLToken
  Modifier and Type
  Method
  Description
  `AbstractWsSecurityHandler.WSSecHeaderGeneratorStep3`
  WSSecHeaderGeneratorWss4jImpl.`withSAMLToken(SAMLToken token)`

- ## Uses of SAMLToken in be.ehealth.technicalconnector.service.sts

  Methods in be.ehealth.technicalconnector.service.sts that return SAMLToken
  Modifier and Type
  Method
  Description
  `SAMLToken`
  SAMLTokenFactory.`createSamlToken(Element assertion, Credential credential)`
  Creates a new SAMLToken object.

- ## Uses of SAMLToken in be.ehealth.technicalconnector.service.sts.security.impl

  Classes in be.ehealth.technicalconnector.service.sts.security.impl that implement SAMLToken
  Modifier and Type
  Class
  Description
  `class`
  `AbstractSAMLToken`
  Abstract class
  `class`
  `SAMLHolderOfKeyToken`
  The Class SAMLTokenImpl.
  `class`
  `SAMLSenderVouchesCredential`
  SAMLSenderVouchesCredential.

- ## Uses of SAMLToken in be.ehealth.technicalconnector.service.ws

  Methods in be.ehealth.technicalconnector.service.ws with parameters of type SAMLToken
  Modifier and Type
  Method
  Description
  `static GenericRequest`
  ServiceFactory.`getIdSupportV2Service(SAMLToken token)`
  `static GenericRequest`
  ServiceFactory.`getKGSSServiceSecured(SAMLToken token)`
  Gets the KGSSS service secured.

- ## Uses of SAMLToken in be.ehealth.technicalconnector.session

  Methods in be.ehealth.technicalconnector.session that return SAMLToken
  Modifier and Type
  Method
  Description
  `static SAMLToken`
  Session.`getSAMLToken()`
  Convenience method to get the SAML token associated with the session.
  `SAMLToken`
  SessionItem.`getSAMLToken()`
  Gets the sAML token.
  Methods in be.ehealth.technicalconnector.session with parameters of type SAMLToken
  Modifier and Type
  Method
  Description
  `void`
  SessionManager.`loadSession(SAMLToken token, String hokPwd)`
  Load a session using a previously stored SAML token.
  `void`
  SessionManager.`loadSession(SAMLToken token, String hokPwd, String encryptionPwd)`
  Load a session using a previously stored SAML token with the associated eHealth Encryption Certificates, needed for sealing and unsealing messages.
  `void`
  SessionItem.`setSAMLToken(SAMLToken token)`
  This method will set the samltoken when created

- ## Uses of SAMLToken in be.ehealth.technicalconnector.session.impl

  Methods in be.ehealth.technicalconnector.session.impl that return SAMLToken
  Modifier and Type
  Method
  Description
  `final SAMLToken`
  SessionItemImpl.`getSAMLToken()`
  Methods in be.ehealth.technicalconnector.session.impl with parameters of type SAMLToken
  Modifier and Type
  Method
  Description
  `void`
  SessionManagerImpl.`loadSession(SAMLToken token, String hokPwd)`
  `void`
  SessionManagerImpl.`loadSession(SAMLToken token, String hokPwd, String encryptionPwd)`
  `void`
  SessionItemImpl.`setSAMLToken(SAMLToken token)`

- ## Uses of SAMLToken in be.ehealth.technicalconnector.validator

  Methods in be.ehealth.technicalconnector.validator with parameters of type SAMLToken
  Modifier and Type
  Method
  Description
  `boolean`
  SessionValidator.`validateToken(SAMLToken samlToken)`
  Method to check if the provided `SAMLToken` is still valid.

- ## Uses of SAMLToken in be.ehealth.technicalconnector.validator.impl

  Methods in be.ehealth.technicalconnector.validator.impl with parameters of type SAMLToken
  Modifier and Type
  Method
  Description
  `boolean`
  SAMLSessionValidator.`validateToken(SAMLToken samlToken)`