public class SecuritySettings
public SecuritySettings(long tokenLifetimeHours,
@NotNull
AuthenticatorSettings authenticator,
@NotNull
NexmoSettings nexmo,
@NotNull
GoogleSettings google,
@NotNull
java.util.Set<com.antelopesystem.authframework.token.type.enums.TokenType> allowedTokenTypes,
@Nullable
AuthenticationMethod defaultAuthenticationMethod,
@NotNull
java.util.Set<com.antelopesystem.authframework.authentication.method.enums.AuthenticationMethod> allowedAuthenticationMethods,
@NotNull
java.util.Set<com.antelopesystem.authframework.authentication.mfa.provider.base.MfaType> allowedMfaTypes,
boolean authenticationValidationEnabled,
@NotNull
java.lang.String passwordRegex,
long passwordExpiryDays,
boolean allowRegistrationOnLogin,
boolean allowLoginOnRegistration)
public SecuritySettings()
public long getTokenLifetimeHours()
public void setTokenLifetimeHours(long p)
@NotNull public AuthenticatorSettings getAuthenticator()
public void setAuthenticator(@NotNull
AuthenticatorSettings p)
@NotNull public NexmoSettings getNexmo()
public void setNexmo(@NotNull
NexmoSettings p)
@NotNull public GoogleSettings getGoogle()
public void setGoogle(@NotNull
GoogleSettings p)
@NotNull public java.util.Set<com.antelopesystem.authframework.token.type.enums.TokenType> getAllowedTokenTypes()
public void setAllowedTokenTypes(@NotNull
java.util.Set<com.antelopesystem.authframework.token.type.enums.TokenType> p)
@Nullable public AuthenticationMethod getDefaultAuthenticationMethod()
public void setDefaultAuthenticationMethod(@Nullable
AuthenticationMethod p)
@NotNull public java.util.Set<com.antelopesystem.authframework.authentication.method.enums.AuthenticationMethod> getAllowedAuthenticationMethods()
public void setAllowedAuthenticationMethods(@NotNull
java.util.Set<com.antelopesystem.authframework.authentication.method.enums.AuthenticationMethod> p)
@NotNull public java.util.Set<com.antelopesystem.authframework.authentication.mfa.provider.base.MfaType> getAllowedMfaTypes()
public void setAllowedMfaTypes(@NotNull
java.util.Set<com.antelopesystem.authframework.authentication.mfa.provider.base.MfaType> p)
public boolean getAuthenticationValidationEnabled()
public void setAuthenticationValidationEnabled(boolean p)
@NotNull public java.lang.String getPasswordRegex()
public void setPasswordRegex(@NotNull
java.lang.String p)
public long getPasswordExpiryDays()
public void setPasswordExpiryDays(long p)
public boolean getAllowRegistrationOnLogin()
public void setAllowRegistrationOnLogin(boolean p)
public boolean getAllowLoginOnRegistration()
public void setAllowLoginOnRegistration(boolean p)