Class SecurityAuthenticatorSupport

    • Constructor Detail

      • SecurityAuthenticatorSupport

        public SecurityAuthenticatorSupport()
    • Method Detail

      • setRoleClassNames

        public void setRoleClassNames​(String roleClassNames)
        Description copied from interface: SecurityAuthenticator
        Sets the role class names (separated by comma)

        By default if no explicit role class names has been configured, then this implementation will assume the Subject Principals is a role if the classname contains the word role (lower cased).

        Specified by:
        setRoleClassNames in interface SecurityAuthenticator
        Parameters:
        roleClassNames - a list of FQN class names for role Principal implementations.
      • isRoleClass

        protected boolean isRoleClass​(Principal principal)
        Is the given principal a role class?
        Parameters:
        principal - the principal
        Returns:
        true if role class, false if not