spring-projects / spring-security

Spring Security
http://spring.io/projects/spring-security
Apache License 2.0
8.84k stars 5.91k forks source link

AuthorizeReturnObject AOT support should register proxied class as well #16106

Closed jzheaux closed 6 days ago

jzheaux commented 6 days ago

When AuthorizeReturnObject creates a CGLIB proxy, that proxy will need to look up the proxied object's methods with reflection.

To ensure those methods are available via reflection for the proxy, the appropriate runtime hints should be registered.