Skip to content

Commit

Permalink
Remove logs
Browse files Browse the repository at this point in the history
  • Loading branch information
celinepelletier committed Dec 14, 2021
1 parent cd74cab commit 381ce1e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 13 deletions.
2 changes: 0 additions & 2 deletions src/main/java/io/kidsfirst/config/WebConfiguration.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ public CorsFilter corsFilter(){

String allowedDomains = env.getProperty("application.cors_allowed_domains", "*");

log.debug("Allow domains : " + allowedDomains);

String[] allowedDomainsArr = allowedDomains.split("\\|");
for(int i=0; i<allowedDomainsArr.length; i++){
config.addAllowedOriginPattern(allowedDomainsArr[i].trim());
Expand Down
11 changes: 0 additions & 11 deletions src/main/java/io/kidsfirst/core/service/FenceService.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,6 @@ public Optional<Tokens> refreshTokens(String refreshToken, Provider fence) throw
val clientSecret = fence.getClientSecret();
val fenceEndpoint = fence.getEndpoint();

log.debug("request tokens, client_id={}, client_secret={}, fence_endpoint={}, refresh_token={}",
clientId,
obfuscate(clientSecret),
fenceEndpoint,
obfuscate(refreshToken));
val request = new TokenRequest(
new URI(fenceEndpoint),
new ClientSecretBasic(
Expand Down Expand Up @@ -63,12 +58,6 @@ public Optional<OIDCTokens> requestTokens(String authCode, Provider fence) throw
String clientSecret = fence.getClientSecret();
String fenceEndpoint = fence.getEndpoint();
String redirectUri = fence.getRedirectUri();
log.debug("request tokens, client_id={}, client_secret={}, fence_endpoint={}, auth_code={}, redirect_uri={}",
clientId,
obfuscate(clientSecret),
fenceEndpoint,
obfuscate(authCode),
redirectUri);
val fenceRequest = new TokenRequest(
new URI(fenceEndpoint),

Expand Down

0 comments on commit 381ce1e

Please sign in to comment.