Class EngineRequestAuthorizer
- java.lang.Object
-
- org.camunda.bpm.webapp.impl.security.filter.EngineRequestAuthorizer
-
- All Implemented Interfaces:
RequestAuthorizer
public class EngineRequestAuthorizer extends java.lang.Object implements RequestAuthorizer
This is a
RequestAuthorizer
which authorizes all process engine api requests based on the current authentication- Author:
- Daniel Meyer, nico.rehwaldt
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.camunda.bpm.webapp.impl.security.filter.RequestAuthorizer
RequestAuthorizer.AnnonymousAuthorizer
-
-
Field Summary
-
Fields inherited from interface org.camunda.bpm.webapp.impl.security.filter.RequestAuthorizer
AUTHORIZE_ANNONYMOUS
-
-
Constructor Summary
Constructors Constructor Description EngineRequestAuthorizer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Authorization
authorize(java.util.Map<java.lang.String,java.lang.String> parameters)
Authorize a request with the given parameters by returning a validAuthentication
.
-
-
-
Method Detail
-
authorize
public Authorization authorize(java.util.Map<java.lang.String,java.lang.String> parameters)
Description copied from interface:RequestAuthorizer
Authorize a request with the given parameters by returning a validAuthentication
.- Specified by:
authorize
in interfaceRequestAuthorizer
- Returns:
- a valid
Authentication
ornull
if authorization to this request has not been granted
-
-