Skip to content

Releases: patternhelloworld/spring-oauth2-easyplus

Stabilize App-Token based Module

14 Sep 15:04
Compare
Choose a tag to compare
  • Leave warning logs for the function 'findSafelyByPrincipalNameAndClientIdAndAppToken'
  • Conditional 'No app-token module'
  • Fix minor bugs

v3.0.1

12 Sep 07:06
Compare
Choose a tag to compare
  • Emergent fixes on the new v3

The first release for v3

11 Sep 17:30
Compare
Choose a tag to compare
  • Now follows the DB tables from Spring Authorization Server.
  • DB tables from Spring Security 5 have been removed.

The latest Spring Boot version applied

09 Sep 15:37
Compare
Choose a tag to compare
  • v3.3.2
  • Another conditional bean to handle 'HashCheckService'
  • and others...

Make Authorization(=Access Denied) Exceptions clear and add test codes for that

18 Jul 15:35
Compare
Choose a tag to compare

"Customizable" settings

  • Insert your code when events happen such as tokens created

    • SecurityPointCut
    • See the source code in client.config.securityimpl.aop
  • Register error user messages as desired

    • ISecurityUserExceptionMessageService
    • See the source code in client.config.securityimpl.message
  • Customize the whole error payload as desired for all cases

    • What is "all cases"?
      • Authorization Server ("/oauth2/token", "/api/v1/traditional-oauth/token") and Resource Server (Bearer token inspection : 401, Permission : 403)
    • Customize errors of the following cases
      • Login (/oauth2/token) : client.config.securityimpl.response.CustomAuthenticationFailureHandlerImpl
      • Login (/api/v1/traditional-oauth/token) : client.config.response.error.GlobalExceptionHandler.authenticationException ("/api/v1/traditional-oauth/token", Resource Server (Bearer token inspection))
      • Resource Server (Bearer token expired or with a wrong value, 401) :client.config.securityimpl.response.CustomAuthenticationEntryPointImpl
      • Resource Server (Permission, 403, @PreAuthorized on your APIs) client.config.response.error.GlobalExceptionHandler.authorizationException

Add more selective pointcuts (refer to README)

18 Jul 10:18
Compare
Choose a tag to compare

Make the error payload customizable

17 Jul 15:35
Compare
Choose a tag to compare

The first publication to the Maven repository

16 Jul 14:49
Compare
Choose a tag to compare

Add a test code for grant_type missing and correct the payload consistency

16 Jul 04:49
Compare
Choose a tag to compare

Synchronize api/v1/... and oauth2/token for basic token errors

15 Jul 15:31
Compare
Choose a tag to compare
  • Corrected to return the same Payload from both APIs when a token error occurs

Full Changelog: v2.1.0...v2.1.0