Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable use of custom ProfileManager implementations in DefaultSecurit…
…yLogic Some pac4j platform implementations (for example vertx-pac4j) use custom implementations of ProfileManager. However, the DefaultSecurityLogic appears to provide the implementation they would want to use, if they could inject their own ProfileManagers. Therefore this change is proposed to use an overridable factory method for a ProfileManager (or subclass) rather than have an inline construction of a ProfileManager. Overriding this method thus enables use of a custom ProfileManager implementation such as that required for vert.x.
- Loading branch information