In JBoss EAP 6.1+ the use of any declarative security annotation switches the bean to a different mode, called "secured" in JBoss terms.
GlassFish requires the @DeclareRoles
annotation when programmatic role checking is done (making dynamic role checking impossible).
@author Arjan Tijms
|
|