Interface OIDCSSORelyingPartyConfiguration
- All Superinterfaces:
AuthenticationProfileConfiguration,Component,ConditionalProfileConfiguration,IdentifiedComponent,OAuth2ClientAuthenticableClientProfileConfiguration,OAuth2FlowAwareProfileConfiguration,OAuth2ProfileConfiguration,OAuth2TokenEncryptionProfileConfiguration,OIDCFlowAwareProfileConfiguration,OIDCProfileConfiguration,OIDCSSOProfileConfiguration,OverriddenIssuerProfileConfiguration,ProfileConfiguration
- All Known Subinterfaces:
OAuth2PushedAuthorizationRequestConfiguration,OIDCAuthenticationRelyingPartyProfileConfiguration,OIDCSSORelyingPartyConfigurationEx
- All Known Implementing Classes:
AbstractOIDCSSOConfiguration,DefaultOAuth2PushedAuthorizationRequestConfiguration,DefaultOAuth2TokenConfiguration,DefaultOIDCAuthorizationConfiguration
-
Field Summary
Fields inherited from interface net.shibboleth.oidc.profile.config.OIDCSSOProfileConfiguration
PROFILE_IDFields inherited from interface net.shibboleth.profile.config.ProfileConfiguration
DEFAULT_DISALLOWED_FEATURES -
Method Summary
Modifier and TypeMethodDescriptiondefault Function<ProfileRequestContext,Collection<IdPAttribute>> getAttributeExtractionStrategy(ProfileRequestContext profileRequestContext) Get a strategy function to apply to OIDC tokens to extract additionalIdPAttributeobjects from the data.default StringgetAttributeResolutionPrincipal(ProfileRequestContext profileRequestContext) Get a principal name to feed into attribute resolution ifAttributeResolvingProfileConfiguration.isResolveAttributes(ProfileRequestContext)is true.default booleanisCheckAddress(ProfileRequestContext profileRequestContext) Get whether the client address must match between request issuance and response receipt.default booleanisExtractStandardAttributes(ProfileRequestContext profileRequestContext) Get whether to perform extraction of a set of "standard" information from an OIDC id_token.default booleanisValidateAcrValue(ProfileRequestContext profileRequestContext) Should the ACR value in the id_token be validated against those in the authentication request?Methods inherited from interface net.shibboleth.idp.authn.config.AuthenticationProfileConfiguration
getAuthenticationFlows, getDefaultAuthenticationMethods, getPostAuthenticationFlows, getProxyCount, isForceAuthn, isLocalMethods inherited from interface net.shibboleth.profile.config.ConditionalProfileConfiguration
getActivationConditionMethods inherited from interface net.shibboleth.shared.component.IdentifiedComponent
getIdMethods inherited from interface net.shibboleth.oidc.profile.oauth2.config.OAuth2ClientAuthenticableClientProfileConfiguration
getClientAuthenticationJWTType, getClientCredential, getClientId, getTokenEndpointAuthMethod, isRequireSingleJWTAudience, isUseTargetedEndpointAsJWTAudienceMethods inherited from interface net.shibboleth.oidc.profile.oauth2.config.OAuth2FlowAwareProfileConfiguration
isAuthorizationCodeFlowEnabled, isImplicitFlowEnabled, isRefreshTokensEnabledMethods inherited from interface net.shibboleth.oidc.profile.oauth2.config.OAuth2TokenEncryptionProfileConfiguration
isEncryptionOptionalMethods inherited from interface net.shibboleth.oidc.profile.config.OIDCFlowAwareProfileConfiguration
isHybridFlowEnabledMethods inherited from interface net.shibboleth.oidc.profile.config.OIDCSSOProfileConfiguration
getCustomRedirectUriValidationStrategy, isAllowPKCEPlain, isForcePKCEMethods inherited from interface net.shibboleth.profile.config.OverriddenIssuerProfileConfiguration
getIssuerMethods inherited from interface net.shibboleth.profile.config.ProfileConfiguration
getDisallowedFeatures, getSecurityConfiguration, isFeatureDisallowed
-
Method Details
-
getAttributeExtractionStrategy
@ConfigurationSetting(name="attributeExtractionStrategy") @Nullable default Function<ProfileRequestContext,Collection<IdPAttribute>> getAttributeExtractionStrategy(@Nullable ProfileRequestContext profileRequestContext) Get a strategy function to apply to OIDC tokens to extract additionalIdPAttributeobjects from the data.This supplements the built-in behavior that decodes OIDC claims into in the combined id_token and UserInfo tokens.
TODO: Default implementation should be removed in 4.0.0
- Parameters:
profileRequestContext- profile request context- Returns:
- extraction strategy
- Since:
- 3.4.0
-
getAttributeResolutionPrincipal
@ConfigurationSetting(name="attributeResolutionPrincipal") @Nullable default String getAttributeResolutionPrincipal(@Nullable ProfileRequestContext profileRequestContext) Get a principal name to feed into attribute resolution ifAttributeResolvingProfileConfiguration.isResolveAttributes(ProfileRequestContext)is true.TODO: Default implementation should be removed in 4.0.0
- Parameters:
profileRequestContext- profile request context- Returns:
- principal name to use during resolution
- Since:
- 3.4.0
-
isValidateAcrValue
@ConfigurationSetting(name="validateAcrValue") default boolean isValidateAcrValue(@Nullable ProfileRequestContext profileRequestContext) Should the ACR value in the id_token be validated against those in the authentication request?It does not make any determination about whether the requested ACR values were marked as essential or optional in the authentication request; it simply determines whether the validation step should run.
TODO: Default implementation should be removed in 4.0.0
- Parameters:
profileRequestContext- the profile request context- Returns:
- true if the ACR value should be validated, false otherwise.
- Since:
- 3.4.0
-
isExtractStandardAttributes
@ConfigurationSetting(name="extractStandardAttributes") default boolean isExtractStandardAttributes(@Nullable ProfileRequestContext profileRequestContext) Get whether to perform extraction of a set of "standard" information from an OIDC id_token.This is essentially a built-in extraction strategy that can be supplemented via
getAttributeExtractionStrategy(ProfileRequestContext).Defaults to "true".
TODO: Default implementation should be removed in 4.0.0
- Parameters:
profileRequestContext- profile request context- Returns:
- whether to perform standard data extraction
- Since:
- 3.4.0
-
isCheckAddress
@ConfigurationSetting(name="checkAddress") default boolean isCheckAddress(@Nullable ProfileRequestContext profileRequestContext) Get whether the client address must match between request issuance and response receipt.Defaults to "false".
TODO: Default implementation should be removed in 4.0.0
- Parameters:
profileRequestContext- current profile request context- Returns:
- whether to compare addresses
- Since:
- 3.4.0
-