Package akka.http.javadsl.server
Interface AuthenticationFailedRejection
-
- All Superinterfaces:
Rejection
- All Known Implementing Classes:
AuthenticationFailedRejection
public interface AuthenticationFailedRejection extends Rejection
Rejection created by the variousSecurityDirectives
. 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 Classes Modifier and Type Interface Description static interface
AuthenticationFailedRejection.Cause
Signals the cause of the failed authentication.static interface
AuthenticationFailedRejection.CredentialsMissing
Signals the cause of the rejecting was that the user could not be authenticated, because theWWW-Authenticate
header was not supplied.static interface
AuthenticationFailedRejection.CredentialsRejected
Signals the cause of the rejecting was that the user could not be authenticated, because the supplied credentials are invalid.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AuthenticationFailedRejection.Cause
cause()
HttpChallenge
challenge()
-
-
-
Method Detail
-
cause
AuthenticationFailedRejection.Cause cause()
-
challenge
HttpChallenge challenge()
-
-