Interface RequestAuthorizer
-
- All Known Implementing Classes:
ApplicationRequestAuthorizer
,EngineRequestAuthorizer
,RequestAuthorizer.AnnonymousAuthorizer
public interface RequestAuthorizer
The interface for request authorizers.- Author:
- nico.rehwaldt
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
RequestAuthorizer.AnnonymousAuthorizer
-
Field Summary
Fields Modifier and Type Field Description static RequestAuthorizer
AUTHORIZE_ANNONYMOUS
-
Method Summary
All Methods Instance Methods Abstract 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
.
-
-
-
Field Detail
-
AUTHORIZE_ANNONYMOUS
static final RequestAuthorizer AUTHORIZE_ANNONYMOUS
-
-
Method Detail
-
authorize
Authorization authorize(java.util.Map<java.lang.String,java.lang.String> parameters)
Authorize a request with the given parameters by returning a validAuthentication
.- Parameters:
parameters
-- Returns:
- a valid
Authentication
ornull
if authorization to this request has not been granted
-
-