Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
package org.hisp.dhis.security.oidc;

import static com.google.common.base.Strings.isNullOrEmpty;
import static org.hisp.dhis.external.conf.ConfigurationKey.HTTP_CLEAR_SITE_DATA;

Check warning on line 33 in dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/security/oidc/DhisOidcLogoutSuccessHandler.java

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Remove this unused import 'org.hisp.dhis.external.conf.ConfigurationKey.HTTP_CLEAR_SITE_DATA'.

See more on https://sonarcloud.io/project/issues?id=dhis2_dhis2-core&issues=AZ4VaVCd_6_faRB-LIgj&open=AZ4VaVCd_6_faRB-LIgj&pullRequest=22729
import static org.hisp.dhis.external.conf.ConfigurationKey.LINKED_ACCOUNTS_ENABLED;
import static org.hisp.dhis.external.conf.ConfigurationKey.LINKED_ACCOUNTS_LOGOUT_URL;
import static org.hisp.dhis.external.conf.ConfigurationKey.LINKED_ACCOUNTS_RELOGIN_URL;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -810,6 +810,8 @@ public enum ConfigurationKey {
// Enable saved requests, this will save the URL the user tries to access before they are logged
// in, and redirect to that URL after they are logged in.
LOGIN_SAVED_REQUESTS_ENABLE("login.saved.requests.enable", Constants.ON, false),
/** Clear-Site-Data response header value set on logout. */
HTTP_CLEAR_SITE_DATA("http.clear_site_data", "", false),

// OIDC internal provider configuration for DHIS2 when Authorization Server is enabled, with
// property: (OAUTH2_SERVER_ENABLED)
Expand Down
Loading