Class SecurityManagerUtil


  • public class SecurityManagerUtil
    extends Object
    • Constructor Detail

      • SecurityManagerUtil

        public SecurityManagerUtil()
    • Method Detail

      • authorize

        public static boolean authorize​(Subject subject,
                                        Set<Role> roles,
                                        CheckType checkType,
                                        String rolePrincipalClass)
        This method tries to match the RolePrincipals in the Subject with the provided Set of Roles and CheckType