Skip to content

Commit

Permalink
Apply spotless
Browse files Browse the repository at this point in the history
  • Loading branch information
fcojfernandez committed Sep 20, 2024
1 parent 1d8a510 commit 599d980
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,4 @@ public WellKnownEndpoint(OicAuthSecurityRealm realm) {
super(realm);
}
}

}
6 changes: 4 additions & 2 deletions src/test/java/plugins/OicAuthPluginTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -208,8 +208,10 @@ private void configureRealm() {
OicAuthSecurityRealm securityRealm = sc.useRealm(OicAuthSecurityRealm.class);
securityRealm.configureClient(CLIENT, CLIENT);
// Configuration mode
OicAuthConfigurationMode.WellKnownEndpoint configurationMode = securityRealm.useConfigurationMode(OicAuthConfigurationMode.WellKnownEndpoint.class);
configurationMode.wellKnownEndpoint.set(String.format("%s/realms/%s/.well-known/openid-configuration", keycloakUrl, REALM));
OicAuthConfigurationMode.WellKnownEndpoint configurationMode =
securityRealm.useConfigurationMode(OicAuthConfigurationMode.WellKnownEndpoint.class);
configurationMode.wellKnownEndpoint.set(
String.format("%s/realms/%s/.well-known/openid-configuration", keycloakUrl, REALM));
securityRealm.setLogoutFromOpenidProvider(true);
securityRealm.setPostLogoutUrl(jenkins.url("OicLogout").toExternalForm());
securityRealm.setUserFields(null, null, null, "groups");
Expand Down

0 comments on commit 599d980

Please sign in to comment.