Interface AccessManager
- All Known Implementing Classes:
HttpHeaderAccessManager
public interface AccessManager
Provides access control for aDispatcher
.- Since:
- 1.3.0
Field Summary
Fields Modifier and Type Field Description static AccessManager
PERMIT_ALL
AccessManager
that permits all requests.
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isAllowed(org.springframework.http.server.ServerHttpRequest request)
Determine if the specific request is allowed to be handled by theDispatcher
.
Field Detail
PERMIT_ALL
static final AccessManager PERMIT_ALL
AccessManager
that permits all requests.
Method Detail
isAllowed
boolean isAllowed(org.springframework.http.server.ServerHttpRequest request)
Determine if the specific request is allowed to be handled by theDispatcher
.- Parameters:
request
- the request to check- Returns:
true
if access is allowed.