Class RegistrationSettings
- java.lang.Object
-
- org.silverpeas.core.web.authentication.credentials.RegistrationSettings
-
public class RegistrationSettings extends Object
A wrapper of the settings on the registration of a new user.- Author:
- mmoquillon
-
-
Constructor Summary
Constructors Constructor Description RegistrationSettings()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RegistrationSettings
getSettings()
boolean
isUserSelfRegistrationEnabled()
Is the self registration capability is enabled?String
userSelfRegistrationDomainId()
In case of self registration, define domain id where the account will be created
-
-
-
Method Detail
-
getSettings
public static RegistrationSettings getSettings()
-
isUserSelfRegistrationEnabled
public boolean isUserSelfRegistrationEnabled()
Is the self registration capability is enabled? With this functionality, a user can register himself either by filling directly a registration form or from its social account (twitter, ...)- Returns:
- true if a user can create an account in Silverpeas. False otherwise.
-
userSelfRegistrationDomainId
public String userSelfRegistrationDomainId()
In case of self registration, define domain id where the account will be created- Returns:
- specified domain id. "0" otherwise.
-
-