Class IndirectClientAuthorization
java.lang.Object
de.xima.cmn.dao.model.AEntity<Long>
de.xima.fc.entities.AbstractEntity
de.xima.fc.entities.AbstractLockableEntity
de.xima.fc.entities.ALockableEntity
de.xima.fc.entities.AClientDependentEntity
de.xima.fc.entities.AClientAuthorization
de.xima.fc.entities.IndirectClientAuthorization
- All Implemented Interfaces:
de.xima.cmn.dao.interfaces.IEntity<Long>, de.xima.cmn.dao.interfaces.ILockableEntity<Long>, IDescriptionProviding, IEntityClientAuthorization, ILockingVersionProviding, IMandantDependent, INameProviding, ITransferable, ITransferableEntity, ITransferableLockableEntity, IUUIDEntity, IClientAuthorization, Serializable, Comparable<de.xima.cmn.dao.interfaces.IEntity<Long>>
@Entity
public class IndirectClientAuthorization
extends AClientAuthorization
implements IDescriptionProviding
Indirect client authorizations define the permission to
Mandants using filters of a
SystemAuthenticator.- Since:
- 8.0.0
- Author:
- XIMA Media GmbH
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class AClientAuthorization
ATTR_ACCESS_EXPIRE_INSTANT, ATTR_ACCESS_GRANTED_BY, ATTR_ACCESS_GRANTED_INSTANT, ATTR_ROLES, ATTR_USER_GROUPS, COL_ACCESS_EXPIRE_TIMESTAMP, COL_ACCESS_GRANTED_BY, COL_ACCESS_GRANTED_TIMESTAMPFields inherited from class AClientDependentEntity
COL_CLIENTID, mandantFields inherited from class AbstractLockableEntity
COL_LOCKINGVERSION, lockingVersionFields inherited from class AbstractEntity
COL_ID, idFields inherited from interface IDescriptionProviding
ATTR_BESCHREIBUNGFields 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 IMandantDependent
ATTR_CLIENT, ATTR_MANDANT, COL_CLIENT_IDFields inherited from interface ITransferableEntity
IMPORT_ID, INVALID_IDFields inherited from interface IUUIDEntity
ATTR_UUID, COL_UUID, INVALID_UUID, INVALID_UUID_OBJECT, NULL_SAFE_UUID_TYPE, NULLABLE_UUID_TYPE, TYPE_NAME_UUID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal StringDeprecated.getId()getName()getRoles()voidvoidsetAuthenticator(IAuthenticator<?> authenticator) Deprecated.voidsetAuthenticatorType(EAuthClientType authenticatorType) Deprecated.UsesetClientDescriptor(IClientDescriptor)insteadvoidsetClientAuthenticator(ClientAuthenticator clientAuthenticator) Deprecated.UsesetAuthenticator(IAuthenticator)instead.voidsetClientDescriptor(IClientDescriptor clientDescriptor) voidsetCustomPropertiesModel(AuthorizationFilterProperties customPropertiesModel) voidsetDescription(String description) voidvoidvoidsetSystemAuthenticator(SystemAuthenticator systemAuthenticator) Deprecated.UsesetAuthenticator(IAuthenticator)instead.voidsetUserGroups(Set<BenutzerGruppe> groups) Methods inherited from class AClientAuthorization
addRole, addUserGroup, getAccessExpireInstant, getAccessGrantedBy, getAccessGrantedInstant, getClient, getUUID, getUUIDObject, setAccessExpireInstant, setAccessGrantedBy, setAccessGrantedInstant, setId, setUUID, setUUIDObjectMethods inherited from class AClientDependentEntity
getMandant, setMandantMethods inherited from class AbstractLockableEntity
entityHasChanged, getLockingVersion, setLockingVersion, toStringMethods inherited from class AbstractEntity
asIntValue, isPersisted, setIdMethods inherited from class de.xima.cmn.dao.model.AEntity
compareTo, equals, getDBTableName, hashCodeMethods inherited from interface Comparable
compareToMethods inherited from interface de.xima.cmn.dao.interfaces.IEntity
isPersistedMethods inherited from interface IMandantDependent
getMandant, setMandant
-
Field Details
-
COL_NAME
- See Also:
-
COL_DESCRIPTION
- See Also:
-
COL_AUTHENTICATOR_TYPE
- See Also:
-
COL_AUTHENTICATOR_SYSTEM
- See Also:
-
COL_AUTHENTICATOR_CLIENT
- See Also:
-
COL_CUSTOM_PROPERTIES
- See Also:
-
ATTR_NAME
- See Also:
-
ATTR_DESCRIPTION
- See Also:
-
ATTR_AUTHENTICATOR_TYPE
- See Also:
-
ATTR_SYSTEM_AUTHENTICATOR
- See Also:
-
ATTR_CLIENT_AUTHENTICATOR
- See Also:
-
ATTR_PROPERTIES_MODEL
- See Also:
-
-
Constructor Details
-
IndirectClientAuthorization
public IndirectClientAuthorization()
-
-
Method Details
-
getId
-
getName
- Specified by:
getNamein interfaceINameProviding- Returns:
- The name of this object.
-
setName
-
getBeschreibung
Deprecated.- Specified by:
getBeschreibungin interfaceIDescriptionProviding
-
getDescription
- Specified by:
getDescriptionin interfaceIDescriptionProviding- Returns:
- A human-readable description for this object.
-
setDescription
-
getCustomPropertiesModel
-
setCustomPropertiesModel
-
getClientDescriptor
-
setClientDescriptor
-
getAuthenticatorType
-
getAuthenticator
-
getSystemAuthenticator
-
getClientAuthenticator
-
getRoles
- Specified by:
getRolesin interfaceIClientAuthorization- Returns:
- the roles that will be assigned to users that match this authorization configuration.
-
setRoles
-
getUserGroups
- Specified by:
getUserGroupsin interfaceIClientAuthorization- Returns:
- the user groups that will be assigned to the users that match this authorization configuration.
-
setUserGroups
-
getDisplayName
- Specified by:
getDisplayNamein interfaceIEntityClientAuthorization- Returns:
- a display name for this authorization configuration.
-
prePersist
public void prePersist() -
setAuthenticatorType
Deprecated.UsesetClientDescriptor(IClientDescriptor)instead -
setAuthenticator
Deprecated.UsesetClientDescriptor(IClientDescriptor)instead. -
setSystemAuthenticator
Deprecated.UsesetAuthenticator(IAuthenticator)instead. -
setClientAuthenticator
Deprecated.UsesetAuthenticator(IAuthenticator)instead.
-
setClientDescriptor(IClientDescriptor)instead.