Skip to content

Commit

Permalink
Doc cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
epugh committed Nov 22, 2024
1 parent fd24abc commit 30f4bd6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public static void processParams(
for (ContentStream cs : req.getContentStreams()) {
// if BinaryResponseParser.BINARY_CONTENT_TYPE, let the following fail below - we may have
// adjusted the content without updating the content type
// problem in this case happens in a few tests, one seems to happen with kerberos and remote
// problem in this case happens in a few tests including a remote
// node query (HttpSolrCall's request proxy)

String contentType = cs.getContentType();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,9 @@ public String toString() {
/**
* This method returns the {@link Principal} corresponding to the authenticated user for the
* current request. The value returned by {@link Principal#getName()} depends on the
* authentication mechanism used (e.g. for user "foo" with BASIC authentication the result would
* be "foo". On the other hand with KERBEROS it would be foo@REALMNAME). The {@link
* #getUserName()} method may be preferred to extract the identity of the authenticated user
* instead of this method.
* authentication mechanism used. For example for the user "foo" with BASIC authentication the
* result would be "foo". The {@link #getUserName()} method may be preferred to extract the
* identity of the authenticated user instead of this method.
*
* @return user principal in case of an authenticated request null in case of unauthenticated
* request
Expand All @@ -56,7 +55,7 @@ public String toString() {
* This method returns the name of the authenticated user for the current request. The return
* value of this method is agnostic of the underlying authentication mechanism used.
*
* @return user name in case of an authenticated user null in case of unauthenticated request
* @return username in case of an authenticated user null in case of unauthenticated request
*/
public abstract String getUserName();

Expand Down

0 comments on commit 30f4bd6

Please sign in to comment.