Annotation Type LogoutDefinition
-
@Retention(RUNTIME) public @interface LogoutDefinition
LogoutDefinitionannotation defines logout and RP session management configuration in openid connect client.- Author:
- jGauravGupta
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description booleanaccessTokenExpirySession timeout on the expiry of Access Token.StringaccessTokenExpiryExpressionAllow the session timeout definition using a Jakarta Expression Language expression.booleanidentityTokenExpirySession timeout on the expiry of Identity Token.StringidentityTokenExpiryExpressionAllow the session timeout using the Jakarta Expression Language expression.booleannotifyProviderOptional.StringnotifyProviderExpressionOptional.StringredirectURIOptional.
-
-
-
Element Detail
-
notifyProvider
boolean notifyProvider
Optional. Notify the OIDC provider (OP) that the user has logged out of the application and might want to log out of the OP as well. If true then after having logged out the user from RP, redirects the End-User's User Agent to the OP's logout endpoint URL. This URL is normally obtained via the end_session_endpoint element of the OP's metadata or can be customized viaOpenIdProviderMetadata#endSessionEndpoint.- Returns:
- true when OIDC provider is notified of logout.
- Default:
- false
-
-
-
notifyProviderExpression
String notifyProviderExpression
Optional. Allows the OIDC provider (OP) notification that the user has logged using the Jakarta Expression Language expression. If set, overrides the value set by notifyProvider.- Default:
- ""
-
-
-
redirectURI
String redirectURI
Optional. The post logout redirect URI to which the RP is requesting that the End-User's User Agent be redirected after a logout has been performed. If redirect URI is empty then redirect to OpenID connect provider authorization_endpoint for re-authentication. *- Returns:
- URL after logout is performed on the client.
- Default:
- ""
-
-
-
accessTokenExpiryExpression
String accessTokenExpiryExpression
Allow the session timeout definition using a Jakarta Expression Language expression. If set, overrides the value defined with accessTokenExpiry.- Returns:
- Default:
- ""
-
-
-
identityTokenExpiryExpression
String identityTokenExpiryExpression
Allow the session timeout using the Jakarta Expression Language expression. If set, overrides the identityTokenExpiry value.- Returns:
- Default:
- ""
-
-