Class RequestAuthorizationContext
- java.lang.Object
-
- de.xima.fc.security.context.request.RequestAuthorizationContext
-
- All Implemented Interfaces:
IAuthorizationContext
,IRequestAuthorizationContext
,Serializable
@Named @RequestScoped public class RequestAuthorizationContext extends Object implements IRequestAuthorizationContext
CDI model bean for accessing authorization context information of the current request.- Since:
- 8.0.0
- Author:
- XIMA Media GmbH
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RequestAuthorizationContext()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Mandant
getClient()
Vorgang
getFormRecord()
Projekt
getProject()
org.pac4j.core.context.WebContext
getWebContext()
-
-
-
Method Detail
-
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
.
-
getWebContext
public org.pac4j.core.context.WebContext getWebContext()
- Specified by:
getWebContext
in interfaceIRequestAuthorizationContext
- Returns:
- the
web context
for which an authorization check is performed.
-
-