Interface OIDCLogoutProfileConfiguration
- All Superinterfaces:
Component,ConditionalProfileConfiguration,IdentifiedComponent,OAuth2ProfileConfiguration,OAuth2TokenEncryptionProfileConfiguration,OIDCProfileConfiguration,ProfileConfiguration
- All Known Implementing Classes:
DefaultOIDCLogoutConfiguration
Configuration for IdP OpenID Connect Logout.
- Since:
- 3.1.0
-
Field Summary
FieldsFields inherited from interface net.shibboleth.profile.config.ProfileConfiguration
DEFAULT_DISALLOWED_FEATURES -
Method Summary
Modifier and TypeMethodDescriptiongetCustomPostLogoutRedirectUriValidationStrategy(ProfileRequestContext profileRequestContext) Get the bi-predicate for validating post logout redirect URI in request to the current profile request context state.getHttpRequestMethod(ProfileRequestContext profileRequestContext) Get the HTTP request method for an RP-Initiated logout request.default StringgetLogoutHintClaim(ProfileRequestContext profileRequestContext) Get the ID Token claim whose value should be used as thelogout_hintparameter in an RP-Initiated Logout request.getLogoutHintMatchingStrategy(ProfileRequestContext profileRequestContext) Get the bi-predicate for matching logout hint to an existing session in an OIDC RP-initiated logout sequence.booleanisFrontChannelSuccess(ProfileRequestContext profileRequestContext) Get whether to consider front-channel logout propagation successful.booleanisIgnoreInvalidPostLogoutRedirectUri(ProfileRequestContext profileRequestContext) Get whether to ignore invalid post logout redirect URI in the request.default booleanisIncludePostLogoutRedirectUri(ProfileRequestContext profileRequestContext) Get whether post_logout_redirect_uri is included in an OIDC RP-Initiated logout request.booleanisPreferFrontChannel(ProfileRequestContext profileRequestContext) Get whether to prefer front-channel if both are defined for the RP.booleanisRequireIdTokenHint(ProfileRequestContext profileRequestContext) Get whether to require the use of id_token_hint in an OIDC RP-initiated logout sequence.booleanisRevokeTokens(ProfileRequestContext profileRequestContext) Get whether to revoke the tokens related to the session to be logged out.Methods 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.OAuth2TokenEncryptionProfileConfiguration
isEncryptionOptionalMethods inherited from interface net.shibboleth.profile.config.ProfileConfiguration
getDisallowedFeatures, getSecurityConfiguration, isFeatureDisallowed
-
Field Details
-
PROFILE_ID
ID for this profile configuration.- See Also:
-
-
Method Details
-
isPreferFrontChannel
@ConfigurationSetting(name="preferFrontChannel") boolean isPreferFrontChannel(@Nullable ProfileRequestContext profileRequestContext) Get whether to prefer front-channel if both are defined for the RP.- Parameters:
profileRequestContext- current profile request context- Returns:
- true iff front-channel is to be preferred
-
isFrontChannelSuccess
@ConfigurationSetting(name="frontChannelSuccess") boolean isFrontChannelSuccess(@Nullable ProfileRequestContext profileRequestContext) Get whether to consider front-channel logout propagation successful.- Parameters:
profileRequestContext- current profile request context- Returns:
- true iff front-channel propagation considered as successful
-
isRevokeTokens
@ConfigurationSetting(name="revokeTokens") boolean isRevokeTokens(@Nullable ProfileRequestContext profileRequestContext) Get whether to revoke the tokens related to the session to be logged out.- Parameters:
profileRequestContext- current profile request context- Returns:
- true iff the tokens are to be revoked
-
isRequireIdTokenHint
@ConfigurationSetting(name="requireIdTokenHint") boolean isRequireIdTokenHint(@Nullable ProfileRequestContext profileRequestContext) Get whether to require the use of id_token_hint in an OIDC RP-initiated logout sequence.- Parameters:
profileRequestContext- profile request context- Returns:
- true iff the use of id_token_hint is required
-
getLogoutHintMatchingStrategy
@ConfigurationSetting(name="logoutHintMatchingStrategy") @Nullable BiPredicate<String,SPSession> getLogoutHintMatchingStrategy(@Nullable ProfileRequestContext profileRequestContext) Get the bi-predicate for matching logout hint to an existing session in an OIDC RP-initiated logout sequence.- Parameters:
profileRequestContext- profile request context- Returns:
- the bi-predicate for matching logout hint to an existing session.
-
getCustomPostLogoutRedirectUriValidationStrategy
@ConfigurationSetting(name="customPostLogoutRedirectUriValidationStrategy") @Nullable BiPredicate<URI,ProfileRequestContext> getCustomPostLogoutRedirectUriValidationStrategy(@Nullable ProfileRequestContext profileRequestContext) Get the bi-predicate for validating post logout redirect URI in request to the current profile request context state.- Parameters:
profileRequestContext- profile request context- Returns:
- the bi-predicate for validating requested post logout redirect URI
- Since:
- 3.4.0
-
isIgnoreInvalidPostLogoutRedirectUri
@ConfigurationSetting(name="ignoreInvalidPostLogoutRedirectUri") boolean isIgnoreInvalidPostLogoutRedirectUri(@Nullable ProfileRequestContext profileRequestContext) Get whether to ignore invalid post logout redirect URI in the request.- Parameters:
profileRequestContext- profile request context- Returns:
- true if an invalid post logout redirect URI is to be ignored
- Since:
- 3.4.0
-
getHttpRequestMethod
@ConfigurationSetting(name="httpRequestMethod") @Nullable default OAuth2AuthorizationProfileConfiguration.HttpRequestMethod getHttpRequestMethod(@Nullable ProfileRequestContext profileRequestContext) Get the HTTP request method for an RP-Initiated logout request.- Parameters:
profileRequestContext- profile request context- Returns:
- the HTTP request method TODO: remove the default in version 4.0.0
- Since:
- 3.4.0
-
getLogoutHintClaim
@ConfigurationSetting(name="logoutHintClaim") @Nullable default String getLogoutHintClaim(@Nullable ProfileRequestContext profileRequestContext) Get the ID Token claim whose value should be used as thelogout_hintparameter in an RP-Initiated Logout request.- Parameters:
profileRequestContext- profile request context- Returns:
- the claim name, or
nullif nologout_hintshould be supplied TODO: remove the default implementation in version 4.0.0 - Since:
- 3.4.0
-
isIncludePostLogoutRedirectUri
@ConfigurationSetting(name="includePostLogoutRedirectUri") default boolean isIncludePostLogoutRedirectUri(@Nullable ProfileRequestContext profileRequestContext) Get whether post_logout_redirect_uri is included in an OIDC RP-Initiated logout request.- Parameters:
profileRequestContext- profile request context- Returns:
- true if the post_logout_redirect_uri parameter should be included in the request, false otherwise. TODO: remove the default implementation in version 4.0.0
- Since:
- 3.4.0
-