mcvsubbu commented on a change in pull request #6613: URL: https://github.com/apache/incubator-pinot/pull/6613#discussion_r601726067
########## File path: pinot-controller/src/main/java/org/apache/pinot/controller/api/access/AccessControl.java ########## @@ -64,4 +67,36 @@ default boolean hasAccess(String tableName, AccessType accessType, HttpHeaders h default boolean hasAccess(AccessType accessType, HttpHeaders httpHeaders, String endpointUrl) { return true; } + + /** + * Return workflow info for authenticating users. Not all workflows may be supported by the pinot UI implementation. + * + * @return workflow info for user authentication + */ + default AuthWorkflowInfo getAuthWorkflowInfo() { + return new AuthWorkflowInfo(WORKFLOW_NONE); + } + + /** + * Container for authentication workflow info for the Pinot UI. May be extended by implementations. + * + * Auth workflow info hold any configuration necessary to execute a UI workflow. We currently foresee supporting NONE + * (auth disabled), BASIC (basic auth with username and password), and OAUTH2 (token-based workflow via external + * issuer) + */ + class AuthWorkflowInfo { Review comment: @sajjad-moradi are you ok with this resolution? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For additional commands, e-mail: commits-h...@pinot.apache.org