Interface SpecialUserIdentity

  • All Known Implementing Classes:
    SpecialUserIdentityImpl

    public interface SpecialUserIdentity
    Interface representing concerns of determining if token corresponds to the 'special' user. Encapsulates consumption of AuthD.isSpecialUser to aid in unit-tests. Note that the SSOToken returned from AccessController.doPrivileged(AdminTokenAction.getInstance()) corresponds to the 'special' user.
    • Method Detail

      • isSpecialUser

        boolean isSpecialUser​(SSOToken token)
        Parameters:
        token - corresponding to authenticated user
        Returns:
        true if the user is a special user; false is returned if it is not the case, or if an exception occurred making this determination.