This repository has been archived by the owner on Apr 24, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
! routing: move
UserPassAuthenticator.cached
to `CachedUserPassAuth…
…enticator.apply`, fixes #352 Because `UserPassAuthenticator.cached` relies on a spray-caching Cache even code not using this method (but simply other `UserPassAuthenticator` methods like `apply` or `fromConfig`) must have spray-caching on the classpath in order to avoid a `bad symbolic reference` compiler error. This patch moves the `cached` method into a dedicated object thereby freeing up `UserPassAuthenticator` from the dependency on the spray-caching module.
- Loading branch information