|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RepositoryRealm
A realm accessing user data in persistent storage.
| Field Summary | |
|---|---|
static String |
ACCOUNT_CLASS_NAME_PROPERTY
The account class name property. |
static String |
CASE_INSENSITIVE_PROPERTY
The case insensitive property. |
static String |
USER_CLASS_NAME_PROPERTY
The user class name property. |
| Fields inherited from interface org.norther.tammi.core.realm.Realm |
|---|
ANONYMOUS_USER_PROPERTY, CACHED_PASSWORDS_PROPERTY, DEFAULT_ROLE_PROPERTY, DIGEST_ALGORITHM_PROPERTY, MEMBER_PROPERTY, PUBLIC_NAME_PROPERTY |
| Method Summary | |
|---|---|
String |
getAccountClassName()
Gets the account class name. |
String |
getAccountClassName(String domain)
Gets the account class name in the specified domain. |
String |
getUserClassName()
Gets the user class name. |
boolean |
isCaseInsensitive()
Checks whether usernames and role names are case-insensitive. |
void |
setAccountClassName(String className)
Sets the account class name. |
void |
setAccountClassName(String domain,
String className)
Sets the account class name in the specified domain. |
void |
setCaseInsensitive(boolean flag)
Sets whether usernames and role names are case-insensitive. |
void |
setUserClassName(String className)
Sets the user class name. |
| Methods inherited from interface org.norther.tammi.core.realm.Realm |
|---|
authenticate, authenticate, authenticate, authenticate, authenticate, authenticate, authenticate, authenticate, digest, generateAuthenticate, getAnonymousUser, getAuthType, getDefaultRole, getDigestAlgorithm, getPublicName, identify, identify, isAuthenticated, isAuthenticated, isCachedPasswords, isUserInRole, setAnonymousUser, setCachedPasswords, setDefaultRole, setDigestAlgorithm, setPublicName |
| Methods inherited from interface org.norther.tammi.core.config.Configurable |
|---|
addProperty, addProperty, clearProperties, containsProperty, getConfigKey, getProperties, getProperty, getPropertyFilePath, indexOfProperty, propertyMap, propertyMap, removeProperty, removeProperty, setConfigKey, setProperties, setProperty, setPropertyFilePath, setPropertyFilePath, storeProperties |
| Field Detail |
|---|
static final String CASE_INSENSITIVE_PROPERTY
static final String USER_CLASS_NAME_PROPERTY
static final String ACCOUNT_CLASS_NAME_PROPERTY
| Method Detail |
|---|
boolean isCaseInsensitive()
void setCaseInsensitive(boolean flag)
flag - true if case-insensitive, false otherwise.String getUserClassName()
void setUserClassName(String className)
className - the user class name.String getAccountClassName()
void setAccountClassName(String className)
The primary key field of the account class should be UserId
and it should contain the FirstName and
LastName fields to provide the real name for authenticated
principals.
className - the account class name.String getAccountClassName(String domain)
domain - the user domain.
void setAccountClassName(String domain,
String className)
The primary key field of the account class should be UserId
and it should contain the FirstName and
LastName fields to provide the real name for authenticated
principals.
domain - the user domain.className - the account class name.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||