Class RealmBean
java.lang.Object
org.keycloak.forms.login.freemarker.model.RealmBean
- Direct Known Subclasses:
OrganizationAwareRealmBean
- Author:
- Stian Thorgersen
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
Returns the lifespan for action tokens generated by users in minutes.getAttribute
(String key) int
Returns the lifespan forIdpVerifyAccountLinkActionToken
in minutes.getName()
int
Returns the lifespan forResetCredentialsActionToken
in minutes.int
Returns the lifespan forVerifyEmailActionToken
in minutes.boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
-
Constructor Details
-
RealmBean
-
-
Method Details
-
getName
-
getDisplayName
-
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 forVerifyEmailActionToken
in minutes.- Returns:
-
getResetCredentialsActionTokenLifespanMinutes
public int getResetCredentialsActionTokenLifespanMinutes()Returns the lifespan forResetCredentialsActionToken
in minutes.- Returns:
-
getIdpVerifyAccountLinkActionTokenLifespanMinutes
public int getIdpVerifyAccountLinkActionTokenLifespanMinutes()Returns the lifespan forIdpVerifyAccountLinkActionToken
in minutes.- Returns:
-
getAttributes
-
getAttribute
-