Package de.xima.fc.security.context
Class AuthorizationContext
- java.lang.Object
-
- de.xima.fc.security.context.AuthorizationContext
-
- All Implemented Interfaces:
IAuthorizationContext
,Serializable
public final class AuthorizationContext extends Object implements IAuthorizationContext
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AuthorizationContext
forClient(Mandant client)
static AuthorizationContext
forFormRecord(Vorgang formRecord)
static AuthorizationContext
forProject(Projekt project)
static AuthorizationContext
forSystem()
Mandant
getClient()
Vorgang
getFormRecord()
Projekt
getProject()
-
-
-
Method Detail
-
forFormRecord
public static AuthorizationContext forFormRecord(Vorgang formRecord)
-
forProject
public static AuthorizationContext forProject(Projekt project)
-
forClient
public static AuthorizationContext forClient(Mandant client)
-
forSystem
public static AuthorizationContext forSystem()
-
getFormRecord
public Vorgang getFormRecord()
- Specified by:
getFormRecord
in interfaceIAuthorizationContext
- Returns:
- form record to check authorization for. May be
null
.
-
getProject
public Projekt getProject()
- Specified by:
getProject
in interfaceIAuthorizationContext
- Returns:
- project to check authorization for. May be
null
.
-
getClient
public Mandant getClient()
- Specified by:
getClient
in interfaceIAuthorizationContext
- Returns:
- client to check authorization for. May be
null
.
-
-