[ https://issues.apache.org/jira/browse/STORM-2814?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated STORM-2814: ---------------------------------- Labels: pull-request-available (was: ) > Logviewer HTTP server should return 403 instead of 200 if the user is > unauthorized > ---------------------------------------------------------------------------------- > > Key: STORM-2814 > URL: https://issues.apache.org/jira/browse/STORM-2814 > Project: Apache Storm > Issue Type: Bug > Reporter: Ethan Li > Assignee: Ethan Li > Priority: Minor > Labels: pull-request-available > > {code:java} > public static Response buildResponseUnautohrizedUser(String user) { > String entity = buildUnauthorizedUserHtml(user); > return Response.status(OK) > .entity(entity) > .type(MediaType.TEXT_HTML_TYPE) > .build(); > } > {code} > It returns OK which is confusing. -- This message was sent by Atlassian JIRA (v6.4.14#64029)