Package de.xima.fc.entities
Class SystemAuthenticator
java.lang.Object
de.xima.cmn.dao.model.AEntity<Long>
- All Implemented Interfaces:
de.xima.cmn.dao.interfaces.IEntity<Long>,de.xima.cmn.dao.interfaces.ILockableEntity<Long>,IAuthenticator<SystemAuthenticatorFile>,IDescriptionProviding,ILockingVersionProviding,INameProviding,ITransferable,ITransferableEntity,ITransferableLockableEntity,IUUIDEntity,Serializable,Comparable<de.xima.cmn.dao.interfaces.IEntity<Long>>
Entity model for user authenticators in system scope
- Author:
- XIMA MEDIA GmbH
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class de.xima.fc.entities.AAuthenticator
ATTR_CALLBACK_URL_TYPE, ATTR_CALLBACK_UUID, ATTR_CONFIG_STATE, ATTR_TYPE, attributes, COL_CALLBACK_URL_TYPE, COL_UUID, fileMapFields inherited from class de.xima.fc.entities.AbstractLockableEntity
COL_LOCKINGVERSION, lockingVersionFields inherited from class de.xima.fc.entities.AbstractEntity
COL_ID, idFields inherited from interface de.xima.fc.entities.interfaces.IDescriptionProviding
ATTR_BESCHREIBUNG, ATTR_DESCRIPTION, COL_DESCRIPTIONFields inherited from interface de.xima.cmn.dao.interfaces.IEntity
ATTR_IDFields inherited from interface de.xima.cmn.dao.interfaces.ILockableEntity
ATTR_LOCKINGVERSIONFields inherited from interface de.xima.fc.entities.interfaces.INameProviding
ATTR_NAME, COL_NAMEFields inherited from interface de.xima.fc.entities.interfaces.ITransferableEntity
IMPORT_ID, INVALID_IDFields inherited from interface de.xima.fc.entities.interfaces.IUUIDEntity
ATTR_UUID, INVALID_UUID, INVALID_UUID_OBJECT, NULL_SAFE_UUID_TYPE, TYPE_NAME_UUID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetId()booleanbooleanbooleanputFile(String key, SystemAuthenticatorFile file) voidsetAllowAllClients(boolean allowAllClients) voidsetAllowedClients(List<Mandant> allowedClients) voidsetOmitWelcomeMail(boolean omitWelcomeMail) voidsetVerifyUserAutomatically(boolean verifyUserAutomatically) Methods inherited from class de.xima.fc.entities.AAuthenticator
getAttributeValue, getAttributeValueList, getAttributeValueMap, getBeschreibung, getCallbackUrlType, getCallbackUUID, getCallbackUUIDString, getConfigState, getDescription, getLoginButtonTitle, getName, getType, getUUID, getUUIDObject, putAttribute, putAttributes, putAttributes, removeAttribute, removeFile, setAttributes, setCallbackUrlType, setCallbackUUID, setCallbackUUIDString, setConfigState, setDescription, setFileMap, setLoginButtonTitle, setName, setType, setUUID, setUUIDObject, toStringMethods inherited from class de.xima.fc.entities.AbstractLockableEntity
entityHasChanged, getLockingVersion, setLockingVersionMethods inherited from class de.xima.fc.entities.AbstractEntity
asIntValue, isPersisted, setId, setIdMethods inherited from class de.xima.cmn.dao.model.AEntity
compareTo, equals, getDBTableName, hashCodeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface de.xima.cmn.dao.interfaces.IEntity
isPersisted, setId
-
Field Details
-
COL_FLAG_ALLOW_ALL_CLIENTS
- See Also:
-
COL_OMIT_WELCOME_MAIL
- See Also:
-
COL_VERIFY_USER_AUTOMATICALLY
- See Also:
-
ATTR_ALLOWED_CLIENTS
- See Also:
-
ATTR_ALLOW_ALL_CLIENTS
- See Also:
-
ATTR_OMIT_WELCOME_MAIL
- See Also:
-
ATTR_VERIFY_USER_AUTOMATICALLY
- See Also:
-
-
Constructor Details
-
SystemAuthenticator
public SystemAuthenticator()
-
-
Method Details
-
getId
-
getIdentifier
- Returns:
- a unique key identifying this authenticator within the system, which is used in
IAuthenticatorConfigs
-
getAllowedClients
-
setAllowedClients
-
getAttributes
- Returns:
- A map of all key-value pairs as configured by the user for this authenticator. Please note that the value may be a JSON object, depending on the key.
-
getFileMap
- Returns:
- A map of files the user uploaded when they configured this authenticator, such as SSL certificates or configuration files.
-
putFile
Description copied from class:AAuthenticator- Specified by:
putFilein interfaceIAuthenticator<SystemAuthenticatorFile>- Overrides:
putFilein classAAuthenticator<SystemAuthenticatorFile>- Parameters:
key-Stringto store file underfile- the file to put into file map- Returns:
- the file previously stored for the given key or
nullif there wasn't any
-
isAllowAllClients
public boolean isAllowAllClients() -
setAllowAllClients
public void setAllowAllClients(boolean allowAllClients) -
isOmitWelcomeMail
public boolean isOmitWelcomeMail() -
setOmitWelcomeMail
public void setOmitWelcomeMail(boolean omitWelcomeMail) -
isVerifyUserAutomatically
public boolean isVerifyUserAutomatically() -
setVerifyUserAutomatically
public void setVerifyUserAutomatically(boolean verifyUserAutomatically)
-