Skip to content

Commit

Permalink
use log.debug
Browse files Browse the repository at this point in the history
  • Loading branch information
ajaxjiang96 committed Jan 7, 2025
1 parent 55080b9 commit 129ce9d
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,15 @@
import org.keycloak.models.RealmModel;
import org.keycloak.services.resources.IdentityBrokerService;
import org.keycloak.services.resources.RealmsResource;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public final class UrlHelper {
private static final String PROVIDER_PARAMETER_SERVICE = "service";
private static final String PROVIDER_PARAMETER_RENEW = "renew";
private static final String PROVIDER_PARAMETER_GATEWAY = "gateway";
public static final String PROVIDER_PARAMETER_TICKET = "ticket";
private static final Logger log = LoggerFactory.getLogger(UrlHelper.class);

private UrlHelper() {
// util
Expand Down Expand Up @@ -56,8 +59,8 @@ public static UriBuilder createLogoutUrl(
.path(CasIdentityProvider.Endpoint.class, "logoutResponse")
.build(realm.getName(), config.getAlias())
.toString());
System.out.println("=====url-debug=====");
System.out.println(builder.toString());
log.debug("=====url-debug=====");
log.debug("builder.toString()");
return builder;
}
}

0 comments on commit 129ce9d

Please sign in to comment.