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 toMandants using filters of aSystemAuthenticator.- Since:
- 8.0.0
- Author:
- XIMA Media GmbH
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringATTR_AUTHENTICATOR_TYPEstatic StringATTR_CLIENT_AUTHENTICATORstatic StringATTR_DESCRIPTIONstatic StringATTR_NAMEstatic StringATTR_PROPERTIES_MODELstatic StringATTR_SYSTEM_AUTHENTICATORstatic StringCOL_AUTHENTICATOR_CLIENTstatic StringCOL_AUTHENTICATOR_SYSTEMstatic StringCOL_AUTHENTICATOR_TYPEstatic StringCOL_CUSTOM_PROPERTIESstatic StringCOL_DESCRIPTIONstatic StringCOL_NAME-
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.fc.entities.interfaces.IMandantDependent
ATTR_CLIENT, 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, NULLABLE_UUID_TYPE, TYPE_NAME_UUID
-
-
Constructor Summary
Constructors Constructor Description IndirectClientAuthorization()
-
Method Summary
-
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.fc.entities.interfaces.IMandantDependent
getMandant, setMandant
-
-
-
-
Field Detail
-
COL_NAME
public static final String COL_NAME
- See Also:
- Constant Field Values
-
COL_DESCRIPTION
public static final String COL_DESCRIPTION
- See Also:
- Constant Field Values
-
COL_AUTHENTICATOR_TYPE
public static final String COL_AUTHENTICATOR_TYPE
- See Also:
- Constant Field Values
-
COL_AUTHENTICATOR_SYSTEM
public static final String COL_AUTHENTICATOR_SYSTEM
- See Also:
- Constant Field Values
-
COL_AUTHENTICATOR_CLIENT
public static final String COL_AUTHENTICATOR_CLIENT
- See Also:
- Constant Field Values
-
COL_CUSTOM_PROPERTIES
public static final String COL_CUSTOM_PROPERTIES
- See Also:
- Constant Field Values
-
ATTR_NAME
public static final String ATTR_NAME
- See Also:
- Constant Field Values
-
ATTR_DESCRIPTION
public static final String ATTR_DESCRIPTION
- See Also:
- Constant Field Values
-
ATTR_AUTHENTICATOR_TYPE
public static final String ATTR_AUTHENTICATOR_TYPE
- See Also:
- Constant Field Values
-
ATTR_SYSTEM_AUTHENTICATOR
public static final String ATTR_SYSTEM_AUTHENTICATOR
- See Also:
- Constant Field Values
-
ATTR_CLIENT_AUTHENTICATOR
public static final String ATTR_CLIENT_AUTHENTICATOR
- See Also:
- Constant Field Values
-
ATTR_PROPERTIES_MODEL
public static final String ATTR_PROPERTIES_MODEL
- See Also:
- Constant Field Values
-
-
Method Detail
-
getName
public String getName()
- Specified by:
getNamein interfaceINameProviding- Returns:
- The name of this object.
-
setName
public void setName(String name)
-
getBeschreibung
@Deprecated public final String getBeschreibung()
Deprecated.- Specified by:
getBeschreibungin interfaceIDescriptionProviding
-
getDescription
public String getDescription()
- Specified by:
getDescriptionin interfaceIDescriptionProviding- Returns:
- A human-readable description for this object.
-
setDescription
public void setDescription(String description)
-
getCustomPropertiesModel
public AuthorizationFilterProperties getCustomPropertiesModel()
-
setCustomPropertiesModel
public void setCustomPropertiesModel(AuthorizationFilterProperties customPropertiesModel)
-
getClientDescriptor
public IClientDescriptor getClientDescriptor()
-
setClientDescriptor
public void setClientDescriptor(IClientDescriptor clientDescriptor)
-
getAuthenticatorType
public EAuthClientType getAuthenticatorType()
-
getAuthenticator
public IAuthenticator<?> getAuthenticator()
-
getSystemAuthenticator
public SystemAuthenticator getSystemAuthenticator()
-
getClientAuthenticator
public ClientAuthenticator getClientAuthenticator()
-
getRoles
public Set<Rolle> getRoles()
- Specified by:
getRolesin interfaceIClientAuthorization- Returns:
- the roles that will be assigned to users that match this authorization configuration.
-
getUserGroups
public Set<BenutzerGruppe> getUserGroups()
- Specified by:
getUserGroupsin interfaceIClientAuthorization- Returns:
- the user groups that will be assigned to the users that match this authorization configuration.
-
setUserGroups
public void setUserGroups(Set<BenutzerGruppe> groups)
-
getDisplayName
public String getDisplayName()
- Specified by:
getDisplayNamein interfaceIEntityClientAuthorization- Returns:
- a display name for this authorization configuration.
-
prePersist
public void prePersist()
-
setAuthenticatorType
@Deprecated public void setAuthenticatorType(EAuthClientType authenticatorType)
Deprecated.UsesetClientDescriptor(IClientDescriptor)instead
-
setAuthenticator
@Deprecated public void setAuthenticator(IAuthenticator<?> authenticator)
Deprecated.UsesetClientDescriptor(IClientDescriptor)instead.
-
setSystemAuthenticator
@Deprecated public void setSystemAuthenticator(SystemAuthenticator systemAuthenticator)
Deprecated.UsesetAuthenticator(IAuthenticator)instead.
-
setClientAuthenticator
@Deprecated public void setClientAuthenticator(ClientAuthenticator clientAuthenticator)
Deprecated.UsesetAuthenticator(IAuthenticator)instead.
-
-