Class NoOpProfileSelectionService

java.lang.Object
swiss.trustbroker.profileselection.service.NoOpProfileSelectionService
All Implemented Interfaces:
swiss.trustbroker.api.profileselection.service.ProfileSelectionService

@Service @ConditionalOnMissingBean(swiss.trustbroker.api.profileselection.service.ProfileSelectionService.class) public class NoOpProfileSelectionService extends Object implements swiss.trustbroker.api.profileselection.service.ProfileSelectionService
NO-OP fallback implementation of ProfileSelectionService, returns empty data.
See Also:
  • ProfileSelectionService
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    swiss.trustbroker.api.profileselection.dto.ProfileResponse
    buildProfileResponse(swiss.trustbroker.api.profileselection.dto.ProfileSelectionData profileSelectionData, swiss.trustbroker.api.sessioncache.dto.CpResponseData cpResponseData)
     
    swiss.trustbroker.api.profileselection.dto.ProfileSelectionResult
    doFinalProfileSelection(swiss.trustbroker.api.profileselection.dto.ProfileSelectionData profileSelectionData, swiss.trustbroker.api.relyingparty.dto.RelyingPartyConfig relyingPartyConfig, swiss.trustbroker.api.sessioncache.dto.CpResponseData cpResponseData, swiss.trustbroker.api.sessioncache.dto.SessionState sessionState)
     
    swiss.trustbroker.api.profileselection.dto.ProfileSelectionResult
    doInitialProfileSelection(swiss.trustbroker.api.profileselection.dto.ProfileSelectionData profileSelectionData, swiss.trustbroker.api.relyingparty.dto.RelyingPartyConfig relyingPartyConfig, swiss.trustbroker.api.sessioncache.dto.CpResponseData cpResponseData, swiss.trustbroker.api.sessioncache.dto.SessionState sessionState)
     
    swiss.trustbroker.api.profileselection.dto.ProfileSelectionResult
    doSsoProfileSelection(swiss.trustbroker.api.profileselection.dto.ProfileSelectionData profileSelectionData, swiss.trustbroker.api.relyingparty.dto.RelyingPartyConfig relyingPartyConfig, swiss.trustbroker.api.sessioncache.dto.CpResponseData cpResponseData, swiss.trustbroker.api.sessioncache.dto.SessionState sessionState)
     
    boolean
    isValidSelectedProfile(swiss.trustbroker.api.profileselection.dto.ProfileSelectionData profileSelectionData, swiss.trustbroker.api.sessioncache.dto.CpResponseData cpResponseData)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • NoOpProfileSelectionService

      public NoOpProfileSelectionService()
  • Method Details

    • doInitialProfileSelection

      public swiss.trustbroker.api.profileselection.dto.ProfileSelectionResult doInitialProfileSelection(swiss.trustbroker.api.profileselection.dto.ProfileSelectionData profileSelectionData, swiss.trustbroker.api.relyingparty.dto.RelyingPartyConfig relyingPartyConfig, swiss.trustbroker.api.sessioncache.dto.CpResponseData cpResponseData, swiss.trustbroker.api.sessioncache.dto.SessionState sessionState)
      Specified by:
      doInitialProfileSelection in interface swiss.trustbroker.api.profileselection.service.ProfileSelectionService
    • doFinalProfileSelection

      public swiss.trustbroker.api.profileselection.dto.ProfileSelectionResult doFinalProfileSelection(swiss.trustbroker.api.profileselection.dto.ProfileSelectionData profileSelectionData, swiss.trustbroker.api.relyingparty.dto.RelyingPartyConfig relyingPartyConfig, swiss.trustbroker.api.sessioncache.dto.CpResponseData cpResponseData, swiss.trustbroker.api.sessioncache.dto.SessionState sessionState)
      Specified by:
      doFinalProfileSelection in interface swiss.trustbroker.api.profileselection.service.ProfileSelectionService
    • doSsoProfileSelection

      public swiss.trustbroker.api.profileselection.dto.ProfileSelectionResult doSsoProfileSelection(swiss.trustbroker.api.profileselection.dto.ProfileSelectionData profileSelectionData, swiss.trustbroker.api.relyingparty.dto.RelyingPartyConfig relyingPartyConfig, swiss.trustbroker.api.sessioncache.dto.CpResponseData cpResponseData, swiss.trustbroker.api.sessioncache.dto.SessionState sessionState)
      Specified by:
      doSsoProfileSelection in interface swiss.trustbroker.api.profileselection.service.ProfileSelectionService
    • buildProfileResponse

      public swiss.trustbroker.api.profileselection.dto.ProfileResponse buildProfileResponse(swiss.trustbroker.api.profileselection.dto.ProfileSelectionData profileSelectionData, swiss.trustbroker.api.sessioncache.dto.CpResponseData cpResponseData)
      Specified by:
      buildProfileResponse in interface swiss.trustbroker.api.profileselection.service.ProfileSelectionService
    • isValidSelectedProfile

      public boolean isValidSelectedProfile(swiss.trustbroker.api.profileselection.dto.ProfileSelectionData profileSelectionData, swiss.trustbroker.api.sessioncache.dto.CpResponseData cpResponseData)
      Specified by:
      isValidSelectedProfile in interface swiss.trustbroker.api.profileselection.service.ProfileSelectionService