Details
Description
The SecureAnnotationsInterceptor maps the roles into the method map only based on the method name. If the class in question is using overloaded methods with different roles for each method, this can result in the wrong roles being applied to the authorization. The map needs to take into account the params/returns as well.