public abstract class AbstractCredentials extends java.lang.Object implements LocalizedCredentials
Constructor and Description |
---|
AbstractCredentials() |
AbstractCredentials(java.util.Locale locale,
java.util.Map<java.lang.String,java.lang.Object> params) |
Modifier and Type | Method and Description |
---|---|
java.util.Locale |
getLocale()
Credentials locale
|
java.util.Map<java.lang.String,java.lang.Object> |
getParams() |
boolean |
isOverrideLocale()
If passed locale should be used instead of locale of User.
|
void |
setLocale(java.util.Locale locale) |
void |
setOverrideLocale(boolean overrideLocale) |
void |
setParams(java.util.Map<java.lang.String,java.lang.Object> params) |
public AbstractCredentials(java.util.Locale locale, java.util.Map<java.lang.String,java.lang.Object> params)
public AbstractCredentials()
public java.util.Locale getLocale()
LocalizedCredentials
getLocale
in interface LocalizedCredentials
public void setLocale(java.util.Locale locale)
public java.util.Map<java.lang.String,java.lang.Object> getParams()
public void setParams(java.util.Map<java.lang.String,java.lang.Object> params)
public boolean isOverrideLocale()
LocalizedCredentials
isOverrideLocale
in interface LocalizedCredentials
public void setOverrideLocale(boolean overrideLocale)