Package org.eclipse.jgit.transport
Class HttpAuthMethod.Basic
java.lang.Object
org.eclipse.jgit.transport.HttpAuthMethod
org.eclipse.jgit.transport.HttpAuthMethod.Basic
- Enclosing class:
- HttpAuthMethod
Performs HTTP basic authentication (plaintext username/password).
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.jgit.transport.HttpAuthMethod
HttpAuthMethod.Type -
Field Summary
FieldsFields inherited from class org.eclipse.jgit.transport.HttpAuthMethod
EMPTY_STRING, SCHEMA_NAME_SEPARATOR, type -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) voidUpdate this method with the given username and password pair.(package private) voidUpdate connection properties based on this authentication method.Methods inherited from class org.eclipse.jgit.transport.HttpAuthMethod
authorize, getType, scanResponse
-
Field Details
-
user
-
pass
-
-
Constructor Details
-
Basic
public Basic()
-
-
Method Details
-
authorize
Description copied from class:HttpAuthMethodUpdate this method with the given username and password pair.- Specified by:
authorizein classHttpAuthMethod
-
configureRequest
Description copied from class:HttpAuthMethodUpdate connection properties based on this authentication method.- Specified by:
configureRequestin classHttpAuthMethod- Throws:
IOException
-