public class HttpHeaderAccessManager extends Object implements AccessManager
AccessManager that checks for the presence of a HTTP header secret.PERMIT_ALL| Constructor and Description |
|---|
HttpHeaderAccessManager(String headerName,
String expectedSecret) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isAllowed(org.springframework.http.server.ServerHttpRequest request)
Determine if the specific request is allowed to be handled by the
Dispatcher. |
public boolean isAllowed(org.springframework.http.server.ServerHttpRequest request)
AccessManagerDispatcher.isAllowed in interface AccessManagerrequest - the request to checktrue if access is allowed.Copyright © 2020 Pivotal Software, Inc.. All rights reserved.