Package akka.http.javadsl.server
Interface AuthenticationFailedRejection
- All Superinterfaces:
Rejection
- All Known Implementing Classes:
AuthenticationFailedRejection
Rejection created by the various
SecurityDirectives
.
Signals that the request was rejected because the user could not be authenticated. The reason for the rejection is
specified in the cause.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface
Signals the cause of the failed authentication.static interface
Signals the cause of the rejecting was that the user could not be authenticated, because theWWW-Authenticate
header was not supplied.static interface
Signals the cause of the rejecting was that the user could not be authenticated, because the supplied credentials are invalid. -
Method Summary
-
Method Details
-
cause
-
challenge
HttpChallenge challenge()
-