Available authentication options.
| Enum constant | Description |
|---|---|
COMMAND |
Use external command to create SSH session. |
HARDCODED |
Use credentials provided directly to Grgit. |
INTERACTIVE |
Will prompt for credentials using an AWT window, if needed. |
PAGEANT |
Use SSH keys in the system's pageant process. |
SSHAGENT |
Use SSH keys in the system's sshagent process. |
| Type | Name and description |
|---|---|
java.lang.Object |
defaultValue |
| Type Params | Return Type | Name and description |
|---|---|---|
|
java.lang.String |
getSystemPropertyName()Gets the system property name used to configure whether this option is allowed or not. |
| 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() |
Use external command to create SSH session.
Use credentials provided directly to Grgit.
Will prompt for credentials using an AWT window, if needed.
Use SSH keys in the system's pageant process.
Use SSH keys in the system's sshagent process.
Gets the system property name used to configure whether this
option is allowed or not. By default, all are allowed.
The system properties are of the form
org.ajoberstar.grgit.auth.<lowercase option name>.allow
Can be set to true or false.
Groovy Documentation