Interface RequestAuthorizer
-
- All Known Implementing Classes:
ApplicationRequestAuthorizer,EngineRequestAuthorizer,RequestAuthorizer.AnnonymousAuthorizer
public interface RequestAuthorizerThe interface for request authorizers.- Author:
- nico.rehwaldt
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classRequestAuthorizer.AnnonymousAuthorizer
-
Field Summary
Fields Modifier and Type Field Description static RequestAuthorizerAUTHORIZE_ANNONYMOUS
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Authorizationauthorize(Map<String,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(Map<String,String> parameters)
Authorize a request with the given parameters by returning a validAuthentication.- Parameters:
parameters-- Returns:
- a valid
Authenticationornullif authorization to this request has not been granted
-
-