org.silverpeas.servlets.credentials
Class RegistrationSettings

java.lang.Object
  extended by org.silverpeas.servlets.credentials.RegistrationSettings

public class RegistrationSettings
extends Object

A wrapper of the settings on the registration of a new user.

Author:
mmoquillon

Constructor Summary
RegistrationSettings()
           
 
Method Summary
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegistrationSettings

public RegistrationSettings()
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.


Copyright © 2016 Silverpeas. All Rights Reserved.