sso/src/main/java/com/streamsets/lib/security/http/AbstractSSOAuthenticator.java
protected Authentication returnUnauthorized(
      HttpServletRequest httpReq, HttpServletResponse httpRes, String principalId, String logMessageTemplate
  ) throws ServerAuthException {
    return returnUnauthorized(httpReq, httpRes, UNAUTHORIZED_JSON, principalId, logMessageTemplate);
  }
protected Authentication returnUnauthorized(
      HttpServletRequest httpReq, HttpServletResponse httpRes, String principalId, String logMessageTemplate
  ) throws ServerAuthException {
    return returnUnauthorized(httpReq, httpRes, UNAUTHORIZED_JSON, principalId, logMessageTemplate);
  }
protected Authentication returnUnauthorized ( HttpServletRequest httpReq , HttpServletResponse httpRes , String principalId , String logMessageTemplate ) throws ServerAuthException { return returnUnauthorized ( httpReq , httpRes , UNAUTHORIZED_JSON , principalId , logMessageTemplate ) ; }
/*
Terminates the request with an HTTP Unauthorized response
/ * Terminates the request with an HTTP Unauthorized response