summaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.http.server
diff options
context:
space:
mode:
authorJonathan Nieder <jrn@google.com>2015-06-02 16:13:16 -0700
committerJonathan Nieder <jrn@google.com>2015-06-02 16:54:07 -0700
commit54b195ad3eeed88f20774f2aa1a5d6b19f59b0d7 (patch)
treeb7e0cf36e07dceb90a9a3830f9f62defc8e2e466 /org.eclipse.jgit.http.server
parenta79168bcbb991c2efe40b4e041dae256b408af92 (diff)
downloadjgit-54b195ad3eeed88f20774f2aa1a5d6b19f59b0d7.tar.gz
jgit-54b195ad3eeed88f20774f2aa1a5d6b19f59b0d7.zip
Clarify description of ServiceNotAuthorizedException
This exception's detail message states Service not permitted and according to the Javadoc it indicates that the current user does not have access to the service. In practice, though, callers handle this exception by presenting a '401 Unauthorized' response to the client, meaning that the user is unauthenticated and should authenticate. Clarify the documentation and detail message to match the practice. The exception message is not used anywhere except logs. No client-visible effect intended. Change-Id: I2c6be9cb74af932f0dcb121a381a64f2ad876766 Signed-off-by: Jonathan Nieder <jrn@google.com>
Diffstat (limited to 'org.eclipse.jgit.http.server')
0 files changed, 0 insertions, 0 deletions