java.lang.Object
io.helidon.security.SecurityResponse
- Direct Known Subclasses:
- AuthenticationResponse,- AuthorizationResponse,- OutboundSecurityResponse
Response from security provider (and security Module).
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic enumStatus of a security operation.
- 
Method SummaryModifier and TypeMethodDescriptionDescription of current security status.Get new request headers to be used.Get new response headers to be used.status()Status of this response.Status code (uses HTTP status codes for mapping).Get underlying throwable causing a failure state (if such happened).toString()
- 
Method Details- 
statusStatus of this response.- Returns:
- SecurityStatus as the provider responded
 
- 
statusCodeStatus code (uses HTTP status codes for mapping).- Returns:
- HTTP status code the provider wants to use, or empty if not set
 
- 
descriptionDescription of current security status. Should be provided by security providers mostly for failure cases.- Returns:
- Description of current status (optional)
 
- 
throwableGet underlying throwable causing a failure state (if such happened).- Returns:
- Exception causing current failure (optional)
 
- 
requestHeadersGet new request headers to be used. These may be additional header, replacement headers or "clearing" headers (in case the value is empty list).- Returns:
- Map of headers to merge with existing headers
 
- 
responseHeadersGet new response headers to be used. These may be additional header, replacement headers or "clearing" headers (in case the value is empty list).- Returns:
- Map of headers to merge with existing headers
 
- 
toString
 
-