237         RealmRepresentation rep = 
new RealmRepresentation();
   238         rep.setId(realm.
getId());
   304         rep.setOtpPolicyPeriod(otpPolicy.
getPeriod());
   305         rep.setOtpPolicyDigits(otpPolicy.
getDigits());
   307         rep.setOtpPolicyType(otpPolicy.
getType());
   318         if (!defaultRoles.isEmpty()) {
   319             List<String> roleStrings = 
new ArrayList<String>();
   320             roleStrings.addAll(defaultRoles);
   321             rep.setDefaultRoles(roleStrings);
   324         if (!defaultGroups.isEmpty()) {
   325             List<String> groupPaths = 
new LinkedList<>();
   327                 groupPaths.add(ModelToRepresentation.buildGroupPath(group));
   329             rep.setDefaultGroups(groupPaths);
   333         if (requiredCredentialModels.size() > 0) {
   334             rep.setRequiredCredentials(
new HashSet<String>());
   336                 rep.getRequiredCredentials().add(cred.getType());
   350             rep.setSupportedLocales(
new HashSet<String>());
   361         rep.setAttributes(attributes);
   364             rep = StripSecretsUtils.strip(rep);
 AuthenticationFlowModel getRegistrationFlow()
 
AuthenticationFlowModel getResetCredentialsFlow()
 
int getDigits()
Definition: OTPPolicy.java:99
 
static void exportRequiredActions(RealmModel realm, RealmRepresentation rep)
Definition: ModelToRepresentation.java:412
 
int getSsoSessionIdleTimeout()
 
Set< String > getSupportedLocales()
 
int getActionTokenGeneratedByUserLifespan()
 
boolean isLoginWithEmailAllowed()
 
int getAccessCodeLifespan()
 
int getSsoSessionMaxLifespan()
 
boolean isEventsEnabled()
 
int getRefreshTokenMaxReuse()
 
boolean isRegistrationAllowed()
 
boolean isAdminEventsEnabled()
 
List< IdentityProviderModel > getIdentityProviders()
 
long getEventsExpiration()
 
List< String > getSupportedApplications()
Definition: OTPPolicy.java:163
 
String getDefaultSignatureAlgorithm()
 
int getMinimumQuickLoginWaitSeconds()
 
Set< String > getEventsListeners()
 
Set< String > getEnabledEventTypes()
 
Definition: OTPPolicy.java:36
 
Definition: RequiredCredentialModel.java:29
 
SslRequired getSslRequired()
 
Map< String, String > getSmtpConfig()
 
int getAccessCodeLifespanUserAction()
 
long getQuickLoginCheckMilliSeconds()
 
boolean isEditUsernameAllowed()
 
static void exportGroups(RealmModel realm, RealmRepresentation rep)
Definition: ModelToRepresentation.java:370
 
List< GroupModel > getDefaultGroups()
 
String getDisplayNameHtml()
 
int getPeriod()
Definition: OTPPolicy.java:115
 
static void exportAuthenticationFlows(RealmModel realm, RealmRepresentation rep)
Definition: ModelToRepresentation.java:375
 
AuthenticationFlowModel getDirectGrantFlow()
 
boolean isInternationalizationEnabled()
 
int getOfflineSessionMaxLifespan()
 
boolean isUserManagedAccessAllowed()
 
AuthenticationFlowModel getClientAuthenticationFlow()
 
int getActionTokenGeneratedByAdminLifespan()
 
Definition: IdentityProviderMapperModel.java:29
 
String getType()
Definition: OTPPolicy.java:75
 
PasswordPolicy getPasswordPolicy()
 
boolean isPermanentLockout()
 
String getAlgorithm()
Definition: OTPPolicy.java:83
 
Map< String, String > getAttributes()
 
String getDefaultLocale()
 
boolean isRevokeRefreshToken()
 
int getAccessTokenLifespanForImplicitFlow()
 
int getMaxFailureWaitSeconds()
 
Set< IdentityProviderMapperModel > getIdentityProviderMappers()
 
boolean isResetPasswordAllowed()
 
boolean isOfflineSessionMaxLifespanEnabled()
 
List< String > getDefaultRoles()
 
boolean isDuplicateEmailsAllowed()
 
int getOfflineSessionIdleTimeout()
 
int getAccessTokenLifespan()
 
boolean isBruteForceProtected()
 
String getAlias()
Definition: AuthenticationFlowModel.java:43
 
int getMaxDeltaTimeSeconds()
 
AuthenticationFlowModel getBrowserFlow()
 
Map< String, String > getBrowserSecurityHeaders()
 
boolean isAdminEventsDetailsEnabled()
 
static GroupRepresentation toRepresentation(GroupModel group, boolean full)
Definition: ModelToRepresentation.java:67
 
AuthenticationFlowModel getDockerAuthenticationFlow()
 
boolean isRegistrationEmailAsUsername()
 
String toString()
Definition: PasswordPolicy.java:107
 
List< RequiredCredentialModel > getRequiredCredentials()
 
int getAccessCodeLifespanLogin()
 
Definition: IdentityProviderModel.java:29
 
int getWaitIncrementSeconds()
 
int getLookAheadWindow()
Definition: OTPPolicy.java:107
 
int getInitialCounter()
Definition: OTPPolicy.java:91
 
Definition: GroupModel.java:30