Please sign in to comment.
! routing: AuthenticationFailedRejection now directly contains challe…
…nge headers to return, fixes #538 This has two consequences: * it's easier to implement a custom authenticators which can now supply the challenge headers directly instead of needing a detour through HttpAuthenticator.getChallengeHeaders * AuthenticationFailedRejection is now serializable
- Loading branch information...
Showing with 7 additions and 6 deletions.
- +3 −2 spray-routing-tests/src/test/scala/spray/routing/SecurityDirectivesSpec.scala
- +1 −1 spray-routing/src/main/scala/spray/routing/Rejection.scala
- +2 −2 spray-routing/src/main/scala/spray/routing/RejectionHandler.scala
- +1 −1 spray-routing/src/main/scala/spray/routing/authentication/HttpAuthenticator.scala