java.lang.Object
io.helidon.security.SecurityResponse
io.helidon.security.OutboundSecurityResponse
Response of outbound security provider.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Builder class to build custom identity propagation responses.Nested classes/interfaces inherited from class io.helidon.security.SecurityResponse
SecurityResponse.SecurityStatus
-
Method Summary
Modifier and TypeMethodDescriptionstatic OutboundSecurityResponse
abstain()
Abstain from processing this request.builder()
Get an instance of builder to build custom identity propagation response.static OutboundSecurityResponse
empty()
There is nothing we can add - e.g.static OutboundSecurityResponse
withHeaders
(Map<String, List<String>> headers) Create a response with these headers.Methods inherited from class io.helidon.security.SecurityResponse
description, requestHeaders, responseHeaders, status, statusCode, throwable, toString
-
Method Details
-
empty
There is nothing we can add - e.g. we do not propagate identity.- Returns:
- response with no headers
-
withHeaders
Create a response with these headers. Only needs additional headers (e.g. actual headers sent with request will be existing headers + headers provided here).- Parameters:
headers
- Headers to add to request to propagate identity (can also be used to delete headers, if the value list is empty)- Returns:
- response correctly initialized
-
builder
Get an instance of builder to build custom identity propagation response.- Returns:
- Builder instance
-
abstain
Abstain from processing this request.- Returns:
- response with abstain status
-