hanicz opened a new pull request, #1548:
URL: https://github.com/apache/knox/pull/1548

   …TokenAsserter
   
   [KNOX-3620](https://issues.apache.org/jira/browse/KNOX-2620) - emove 
AccessTokenFederationFilter and deprecate JWTAccessTokenAsserter
   
   ## What changes were proposed in this pull request?
   
   - Removed `AccessTokenFederationFilter` and 
`AccessTokenFederationContributor` (`federation/AccessTokenProvider`), which 
were deprecated in 3.0.0 (KNOX-3430). Topologies that still use this provider 
now fail to deploy.
   - Deprecated `JWTAccessTokenAsserter`:
     - `JWTAccessTokenAssertionFilter` is now `@Deprecated` and `doFilter` 
throws `UnsupportedOperationException`.
     - `JWTAccessTokenAssertionContributor` is now `@Deprecated` and stays 
registered, so existing topologies still deploy but every request through it 
fails.
     - Full removal is planned for 3.2.0, or 3.1.1.
   - Moved the `ISSUER` constant into `JWTAuthCodeAssertionFilter` so it no 
longer depends on the deprecated class.
   
   ## How was this patch tested?
   
   `mvn -pl gateway-provider-security-jwt verify`: all 747 unit tests pass, 
along with the module's static checks.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to