org.silverpeas.servlets.credentials
Class RegistrationSettings
java.lang.Object
org.silverpeas.servlets.credentials.RegistrationSettings
public class RegistrationSettings
- extends Object
A wrapper of the settings on the registration of a new user.
- Author:
- mmoquillon
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RegistrationSettings
public RegistrationSettings()
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.
Copyright © 2016 Silverpeas. All Rights Reserved.