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 toMandant
s 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 String
ATTR_AUTHENTICATOR_TYPE
static String
ATTR_CLIENT_AUTHENTICATOR
static String
ATTR_DESCRIPTION
static String
ATTR_NAME
static String
ATTR_PROPERTIES_MODEL
static String
ATTR_SYSTEM_AUTHENTICATOR
static String
COL_AUTHENTICATOR_CLIENT
static String
COL_AUTHENTICATOR_SYSTEM
static String
COL_AUTHENTICATOR_TYPE
static String
COL_CUSTOM_PROPERTIES
static String
COL_DESCRIPTION
static String
COL_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_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:
getName
in interfaceINameProviding
- Returns:
- The name of this object.
-
setName
public void setName(String name)
-
getBeschreibung
@Deprecated public final String getBeschreibung()
Deprecated.- Specified by:
getBeschreibung
in interfaceIDescriptionProviding
-
getDescription
public String getDescription()
- Specified by:
getDescription
in 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:
getRoles
in interfaceIClientAuthorization
- Returns:
- the roles that will be assigned to users that match this authorization configuration.
-
getUserGroups
public Set<BenutzerGruppe> getUserGroups()
- Specified by:
getUserGroups
in 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:
getDisplayName
in 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.
-
-