相关文章推荐

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement . We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Summary

HttpSecurityBuilder allows adding a filter before or after a specific filter using the addFilterBefore and addFilterAfter function. However, these are missing in HttpSecurityDsl as it only supports the addFilterAt function.

Actual Behavior

As a workaround these functions can be called by directly accessing the http property of the HttpSecurityDsl :

http {
    http.addFilterBefore(..., ...)
    http.addFilterAfter(..., ...)

Expected Behavior

The functions should be available in the HttpSecurityDsl:

http {
    addFilterBefore(..., ...)
    addFilterAfter(..., ...)

Version

5.3.1.RELEASE

 
推荐文章