public static boolean areAllGranted ( String authorities ) throws IOException { AuthorizeFaceletsTag authorizeTag = new AuthorizeFaceletsTag ( ) ; authorizeTag . setIfAllGranted ( authorities ) ; return authorizeTag . authorize ( ) ; }
Returns true if the user has all of of the given authorities .