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:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionswiss.trustbroker.api.profileselection.dto.ProfileResponsebuildProfileResponse(swiss.trustbroker.api.profileselection.dto.ProfileSelectionData profileSelectionData, swiss.trustbroker.api.sessioncache.dto.CpResponseData cpResponseData) swiss.trustbroker.api.profileselection.dto.ProfileSelectionResultdoFinalProfileSelection(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.ProfileSelectionResultdoInitialProfileSelection(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.ProfileSelectionResultdoSsoProfileSelection(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) booleanisValidSelectedProfile(swiss.trustbroker.api.profileselection.dto.ProfileSelectionData profileSelectionData, swiss.trustbroker.api.sessioncache.dto.CpResponseData cpResponseData)
-
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:
doInitialProfileSelectionin interfaceswiss.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:
doFinalProfileSelectionin interfaceswiss.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:
doSsoProfileSelectionin interfaceswiss.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:
buildProfileResponsein interfaceswiss.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:
isValidSelectedProfilein interfaceswiss.trustbroker.api.profileselection.service.ProfileSelectionService
-