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 interfaceAuthenticationFailedRejection.CauseSignals the cause of the failed authentication.static interfaceAuthenticationFailedRejection.CredentialsMissingSignals the cause of the rejecting was that the user could not be authenticated, because theWWW-Authenticateheader was not supplied.static interfaceAuthenticationFailedRejection.CredentialsRejectedSignals 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.Causecause()HttpChallengechallenge()
-
-
-
Method Detail
-
cause
AuthenticationFailedRejection.Cause cause()
-
challenge
HttpChallenge challenge()
-
-