Utility class that allows a JGit TransportCommand to be configured
to use additional authentication options.
| Type Params | Return Type | Name and description |
|---|---|---|
|
static void |
configure(org.eclipse.jgit.api.TransportCommand cmd, Credentials creds)Configures the given transport command with the given credentials. |
| 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() |
Configures the given transport command with the given credentials.
cmd - the command to configurecreds - the hardcoded credentials to use, if not null