java.lang.Object
org.keycloak.forms.login.freemarker.model.RealmBean
Direct Known Subclasses:
OrganizationAwareRealmBean

public class RealmBean extends Object
Author:
Stian Thorgersen
  • Constructor Details

    • RealmBean

      public RealmBean(RealmModel realmModel)
  • Method Details

    • getName

      public String getName()
    • getDisplayName

      public String getDisplayName()
    • getDisplayNameHtml

      public String getDisplayNameHtml()
    • isIdentityFederationEnabled

      public boolean isIdentityFederationEnabled()
    • isRegistrationAllowed

      public boolean isRegistrationAllowed()
    • isRegistrationEmailAsUsername

      public boolean isRegistrationEmailAsUsername()
    • isLoginWithEmailAllowed

      public boolean isLoginWithEmailAllowed()
    • isDuplicateEmailsAllowed

      public boolean isDuplicateEmailsAllowed()
    • isResetPasswordAllowed

      public boolean isResetPasswordAllowed()
    • isRememberMe

      public boolean isRememberMe()
    • isInternationalizationEnabled

      public boolean isInternationalizationEnabled()
    • isEditUsernameAllowed

      public boolean isEditUsernameAllowed()
    • isPassword

      public boolean isPassword()
    • getActionTokenGeneratedByUserLifespanMinutes

      public int getActionTokenGeneratedByUserLifespanMinutes()
      Returns the lifespan for action tokens generated by users in minutes.
      Returns:
    • getVerifyEmailActionTokenLifespanMinutes

      public int getVerifyEmailActionTokenLifespanMinutes()
      Returns the lifespan for VerifyEmailActionToken in minutes.
      Returns:
    • getResetCredentialsActionTokenLifespanMinutes

      public int getResetCredentialsActionTokenLifespanMinutes()
      Returns the lifespan for ResetCredentialsActionToken in minutes.
      Returns:
    • getIdpVerifyAccountLinkActionTokenLifespanMinutes

      public int getIdpVerifyAccountLinkActionTokenLifespanMinutes()
      Returns the lifespan for IdpVerifyAccountLinkActionToken in minutes.
      Returns:
    • getAttributes

      public Map<String,String> getAttributes()
    • getAttribute

      public String getAttribute(String key)