Interface AuthenticationFailedRejection
- All Superinterfaces:
Rejection
- All Known Implementing Classes:
AuthenticationFailedRejection
Rejection created by the various
pekko.http.javadsl.server.directives.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 interfaceSignals the cause of the failed authentication.static interfaceSignals the cause of the rejecting was that the user could not be authenticated, because theWWW-Authenticateheader was not supplied.static interfaceSignals 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()
-