-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement and add
basic
authentication and routing API (#30)
* Implement and add `basic` authentication API in the `jpro-auth-core` module * Fix unit tests for `UsernamePasswordCredentials` class changes * Implement a routing filter for basic authentication providers * Add `basic-login` application to the examples collection for `jpro-auth` modules * Rename `login` example application to `google-login` * Correct documentation in the BasicLoginApp class * Use `BCrypt` encryption for password encoding * Fix unit testing for the `UsernamePasswordCredentials` class to include password encoding feature in the JSON format serialization * Improve the `jpro-auth-core` module documentation * Provide a customisable `LoginPane` control ready to be used for basic authentication flows * Some overall cleanup and formatting in the `jpro-auth` related modules * Update the changelog about the newly added `basic` authentication and routing API * Fix `equals` and `hashCode` methods inside UsernamePasswordCredentials class to embrace the previous changes * Add javadoc documentation for the `LoginPane` class * Provide more constructors in the Users class and improve documentation * Change type for `AuthUtils` class to interface * Provide a user manager interface to be used in combination with the basic authentication provider * Embed the user manager in the `BasicAuthenticationProvider` API and update the `basic-login` example * Fix unit test for `deleteUser` call in InMemoryUserManagerTests * Improve unit testing for InMemoryUserManager class * Add unit testing for basic authentication provider * Rename authentication filters in the `jpro-auth-routing` module * Follow the requirements to include BCrypt implementation from Spring Security for password encoding * Apply `StatisticsFilter` and `DevFilter` at the bottom on the routing configuration for the authentication examples samples * Fix `javadoc` in the PasswordEncoder class * Rename getter and setters for the username text field to `usernameField` * Provide a prompt text for the default username and passwords in the login page for `basic-login` example * Add simple support for i18n for the LoginPane
- Loading branch information
Showing
55 changed files
with
3,784 additions
and
302 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.