class BasicAuthRequestHook extends java.lang.Object
Authentication hook that adds 'Authorization: Basic ...' header
Type Params | Return Type | Name and description |
---|---|---|
|
HTTPRequest |
call(HTTPRequest hr) This method augments request with 'Authorization: Basic ...' header |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
String that represents password part of the credential
String that represents username part of the credential
This method augments request with 'Authorization: Basic ...' header
hr
- HTTPRequest that is ready to be processed