Class SystemClientUtil

java.lang.Object
org.keycloak.models.utils.SystemClientUtil

public class SystemClientUtil extends Object
Author:
Marek Posolda
  • Field Details

  • Constructor Details

    • SystemClientUtil

      public SystemClientUtil()
  • Method Details

    • getSystemClient

      public static ClientModel getSystemClient(RealmModel realm)
      Returns:
      system client used during usecases when some "metaclient" is needed (EG. For fresh authenticationSession used during actionTokenFlow when email link is opened in new browser)
    • checkSkipLink

      public static void checkSkipLink(KeycloakSession session, AuthenticationSessionModel authSession)
      Cleanup system client URL to avoid links to account management