Class SelfRegistrationConfiguration
- java.lang.Object
-
- com.jscape.inet.mft.management.descriptors.SelfRegistrationConfiguration
-
public class SelfRegistrationConfiguration extends java.lang.ObjectDomain specific self-registration process configuration.- Author:
- Roman Sheshunov
-
-
Constructor Summary
Constructors Constructor Description SelfRegistrationConfiguration()Creates new instance.SelfRegistrationConfiguration(boolean enabled, java.lang.String accountTemplate)Creates new instance.SelfRegistrationConfiguration(SelfRegistrationConfiguration that)Creates new instance from existing instance.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SelfRegistrationConfigurationdefaultConfiguration()java.lang.StringgetAccountTemplate()Returns user template name.booleanisEnabled()Returns if self-registration process is enabled.voidsetAccountTemplate(java.lang.String value)Sets user template name.voidsetEnabled(boolean value)Sets whether self-registration process is enabled.java.lang.StringtoString()
-
-
-
Constructor Detail
-
SelfRegistrationConfiguration
public SelfRegistrationConfiguration()
Creates new instance.
-
SelfRegistrationConfiguration
public SelfRegistrationConfiguration(boolean enabled, java.lang.String accountTemplate)Creates new instance.- Parameters:
enabled- self-registration process flagaccountTemplate- user template name
-
SelfRegistrationConfiguration
public SelfRegistrationConfiguration(SelfRegistrationConfiguration that)
Creates new instance from existing instance.- Parameters:
that- existing instance
-
-
Method Detail
-
defaultConfiguration
public static SelfRegistrationConfiguration defaultConfiguration()
-
isEnabled
public boolean isEnabled()
Returns if self-registration process is enabled.- Returns:
trueif enabled
-
setEnabled
public void setEnabled(boolean value)
Sets whether self-registration process is enabled.- Parameters:
value-trueif enabled;falseotherwise
-
getAccountTemplate
public java.lang.String getAccountTemplate()
Returns user template name.- Returns:
- user template name
-
setAccountTemplate
public void setAccountTemplate(java.lang.String value)
Sets user template name.- Parameters:
value- user template name
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-