Interface IAuthorization

  • All Superinterfaces:
    jakarta.servlet.Filter
    All Known Implementing Classes:
    SSOTokenAuthZ

    public interface IAuthorization
    extends jakarta.servlet.Filter
    Implements this interface to do REST permission check.
    • Method Detail

      • accept

        String[] accept()
        Returns the accept authentication method
        Returns:
        the accept authentication method
      • getAuthZSubject

        Subject getAuthZSubject​(jakarta.servlet.http.HttpServletRequest req)
                         throws RestException
        Returns subject.
        Parameters:
        req - Http Servlet Request
        Returns:
        subject.
        Throws:
        RestException - if subject cannot be created.