Package org.eclipse.jgit.transport
Class HttpAuthMethod.None
- java.lang.Object
-
- org.eclipse.jgit.transport.HttpAuthMethod
-
- org.eclipse.jgit.transport.HttpAuthMethod.None
-
- Enclosing class:
- HttpAuthMethod
private static class HttpAuthMethod.None extends HttpAuthMethod
Performs no user authentication.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.jgit.transport.HttpAuthMethod
HttpAuthMethod.Type
-
-
Field Summary
Fields Modifier and Type Field Description (package private) static HttpAuthMethod.None
INSTANCE
-
Fields inherited from class org.eclipse.jgit.transport.HttpAuthMethod
EMPTY_STRING, SCHEMA_NAME_SEPARATOR, type
-
-
Constructor Summary
Constructors Constructor Description None()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) void
authorize(java.lang.String user, java.lang.String pass)
Update this method with the given username and password pair.(package private) void
configureRequest(HttpConnection conn)
Update connection properties based on this authentication method.-
Methods inherited from class org.eclipse.jgit.transport.HttpAuthMethod
authorize, getType, scanResponse
-
-
-
-
Field Detail
-
INSTANCE
static final HttpAuthMethod.None INSTANCE
-
-
Method Detail
-
authorize
void authorize(java.lang.String user, java.lang.String pass)
Description copied from class:HttpAuthMethod
Update this method with the given username and password pair.- Specified by:
authorize
in classHttpAuthMethod
-
configureRequest
void configureRequest(HttpConnection conn) throws java.io.IOException
Description copied from class:HttpAuthMethod
Update connection properties based on this authentication method.- Specified by:
configureRequest
in classHttpAuthMethod
- Throws:
java.io.IOException
-
-