Class LdapIdentitySelectionService

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

@Service("ldap") @ConditionalOnBooleanProperty("trustbroker.config.ldap.enabled") @ConditionalOnBooleanProperty("trustbroker.config.profileselection.enabled") public class LdapIdentitySelectionService extends Object implements swiss.trustbroker.api.profileselection.service.ProfileSelectionService
LDAP Identity Selection
See Also:
  • ProfileSelectionService
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
  • 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
  • Field Details

  • Constructor Details

    • LdapIdentitySelectionService

      public LdapIdentitySelectionService(ApiSupport apiSupport)
  • 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