Class HttpHeaderAccessManager
java.lang.Object
org.springframework.boot.devtools.remote.server.HttpHeaderAccessManager
- All Implemented Interfaces:
AccessManager
AccessManager
that checks for the presence of an HTTP header secret.- Since:
- 1.3.0
- Author:
- Rob Winch, Phillip Webb
-
Field Summary
Fields inherited from interface org.springframework.boot.devtools.remote.server.AccessManager
PERMIT_ALL
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isAllowed
(ServerHttpRequest request) Determine if the specific request is allowed to be handled by theDispatcher
.
-
Constructor Details
-
HttpHeaderAccessManager
-
-
Method Details
-
isAllowed
Description copied from interface:AccessManager
Determine if the specific request is allowed to be handled by theDispatcher
.- Specified by:
isAllowed
in interfaceAccessManager
- Parameters:
request
- the request to check- Returns:
true
if access is allowed.
-