wildfly/wildfly — pull request #6431 by sguilhen (2014-06-25 01:02:40+00:00)
Title: WFLY-3380 Change isCallerInRole implementation to use the EJBAuthorizati...

...onHelper

- This change fixes an issue in which the configured authorization modules were not invoked when isCallerInRole was called. Now both isCallerInRole and authorize methods use the EJBAuthorizationHelper to ensure the proper modules get involved in authorization decisions.
- The SecurityContextInterceptor is now responsible for setting the JACC context ID in the PolicyContext. This guarantees a valid context ID is available when the EJBAuthorizationHelper is called.