T - Type of the authenticator entity that implements this interface, i.e. either ClientAuthenticator
or SystemAuthenticator.public interface IAuthenticator<T extends IFileEntity<? extends de.xima.cmn.dao.interfaces.IEntity<Long>,? extends IFileDataEntity<?>>> extends INameProviding, IDescriptionProviding, IUUIDEntity
ATTR_NAME, COL_NAMEATTR_BESCHREIBUNG, ATTR_DESCRIPTIONATTR_UUID, COL_UUID, INVALID_UUID, INVALID_UUID_OBJECT, NULL_SAFE_UUID_TYPE, TYPE_NAME_UUID| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
getAttributes() |
String |
getAttributeValue(String key) |
Map<String,String> |
getAttributeValueMap(String key)
Some keys of the
getAttributes() may be mapped to another key-value map of attributes. |
UUID |
getCallbackUUID() |
EAuthConfigState |
getConfigState() |
Map<String,T> |
getFileMap() |
String |
getLoginButtonTitle() |
EAuthClientType |
getType() |
void |
putAttribute(String key,
String value) |
void |
putAttributes(String key,
List<String> values) |
void |
putAttributes(String key,
Map<String,String> valueMap) |
T |
putFile(String key,
T file) |
T |
removeFile(String key) |
void |
setAttributes(Map<String,String> attributes) |
void |
setFileMap(Map<String,T> fileMap) |
getNamegetBeschreibung, getDescriptiongetUUID, getUUIDObject, setUUIDEAuthClientType getType()
UUID getCallbackUUID()
String getLoginButtonTitle()
EAuthConfigState getConfigState()
Map<String,String> getAttributes()
Map<String,T> getFileMap()
String getAttributeValue(String key)
key - Key of an attribute to fetch.getAttributes()Map<String,String> getAttributeValueMap(String key)
getAttributes() may be mapped to another key-value map of attributes. These are stored as
a stringified JSON object. This is a convenience method that parses the JSON string and return the map. Please note
that modifications of the returned map are not stored and do not modify the original getAttributes() map.key - Key of a an attribute to fetch.Copyright © 2020 XIMA MEDIA GmbH. All rights reserved.