Package de.xima.fc.entities
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
Mandant
s using filters of a
SystemAuthenticator
.- Since:
- 8.0.0
- Author:
- XIMA Media GmbH
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
Fields inherited from class de.xima.fc.entities.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_TIMESTAMP
Fields inherited from class de.xima.fc.entities.AClientDependentEntity
COL_CLIENTID, mandant
Fields inherited from class de.xima.fc.entities.AbstractLockableEntity
COL_LOCKINGVERSION, lockingVersion
Fields inherited from class de.xima.fc.entities.AbstractEntity
COL_ID, id
Fields inherited from interface de.xima.fc.entities.interfaces.IDescriptionProviding
ATTR_BESCHREIBUNG
Fields inherited from interface de.xima.cmn.dao.interfaces.IEntity
ATTR_ID
Fields inherited from interface de.xima.cmn.dao.interfaces.ILockableEntity
ATTR_LOCKINGVERSION
Fields inherited from interface de.xima.fc.entities.interfaces.IMandantDependent
ATTR_MANDANT, COL_CLIENT_ID
Fields inherited from interface de.xima.fc.entities.interfaces.ITransferableEntity
IMPORT_ID, INVALID_ID
Fields inherited from interface de.xima.fc.entities.interfaces.IUUIDEntity
ATTR_UUID, COL_UUID, INVALID_UUID, INVALID_UUID_OBJECT, NULL_SAFE_UUID_TYPE, TYPE_NAME_UUID
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal String
Deprecated.getId()
getName()
getRoles()
void
void
setAuthenticator
(IAuthenticator<?> authenticator) Deprecated.void
setAuthenticatorType
(EAuthClientType authenticatorType) Deprecated.UsesetClientDescriptor(IClientDescriptor)
insteadvoid
setClientAuthenticator
(ClientAuthenticator clientAuthenticator) Deprecated.UsesetAuthenticator(IAuthenticator)
instead.void
setClientDescriptor
(IClientDescriptor clientDescriptor) void
setCustomPropertiesModel
(AuthorizationFilterProperties customPropertiesModel) void
setDescription
(String description) void
void
void
setSystemAuthenticator
(SystemAuthenticator systemAuthenticator) Deprecated.UsesetAuthenticator(IAuthenticator)
instead.void
setUserGroups
(Set<BenutzerGruppe> groups) Methods inherited from class de.xima.fc.entities.AClientAuthorization
addRole, addUserGroup, getAccessExpireInstant, getAccessGrantedBy, getAccessGrantedInstant, getClient, getUUID, getUUIDObject, setAccessExpireInstant, setAccessGrantedBy, setAccessGrantedInstant, setId, setUUID, setUUIDObject
Methods inherited from class de.xima.fc.entities.AClientDependentEntity
getMandant, setMandant
Methods inherited from class de.xima.fc.entities.AbstractLockableEntity
entityHasChanged, getLockingVersion, setLockingVersion, toString
Methods inherited from class de.xima.fc.entities.AbstractEntity
asIntValue, isPersisted, setId
Methods inherited from class de.xima.cmn.dao.model.AEntity
compareTo, equals, getDBTableName, hashCode
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface de.xima.cmn.dao.interfaces.IEntity
isPersisted
Methods inherited from interface de.xima.fc.entities.interfaces.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
- Specified by:
getId
in interfacede.xima.cmn.dao.interfaces.IEntity<Long>
-
getName
- Specified by:
getName
in interfaceINameProviding
- Returns:
- The name of this object.
-
setName
-
getBeschreibung
Deprecated.- Specified by:
getBeschreibung
in interfaceIDescriptionProviding
-
getDescription
- Specified by:
getDescription
in interfaceIDescriptionProviding
- Returns:
- A human-readable description for this object.
-
setDescription
-
getCustomPropertiesModel
-
setCustomPropertiesModel
-
getClientDescriptor
-
setClientDescriptor
-
getAuthenticatorType
-
getAuthenticator
-
getSystemAuthenticator
-
getClientAuthenticator
-
getRoles
- Specified by:
getRoles
in interfaceIClientAuthorization
- Returns:
- the roles that will be assigned to users that match this authorization configuration.
-
setRoles
-
getUserGroups
- Specified by:
getUserGroups
in interfaceIClientAuthorization
- Returns:
- the user groups that will be assigned to the users that match this authorization configuration.
-
setUserGroups
-
getDisplayName
- Specified by:
getDisplayName
in 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.