protected boolean isAllAuthenticatedGranted ( String resourceName , Collection < String > requiredRoles , Subject subject ) { Collection < String > roles = getRolesForSpecialSubject ( resourceName , AuthorizationTableService . ALL_AUTHENTICATED_USERS ) ; AccessDecisionService accessDecisionService = accessDecisionServiceRef . getService ( ) ; return accessDecisionService . isGranted ( resourceName , requiredRoles , roles , subject ) ; }
Check if the special subject ALL_AUTHENTICATED_USERS is mapped to the requiredRole .