-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #126 from bnicholesdell/adda2asetcredendpoints
Add the APIs to set credentials using the A2A context. Update the tests to verify the new APIs.
- Loading branch information
Showing
5 changed files
with
233 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
35 changes: 35 additions & 0 deletions
35
src/main/java/com/oneidentity/safeguard/safeguardjava/data/SshKey.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
package com.oneidentity.safeguard.safeguardjava.data; | ||
|
||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
|
||
/** | ||
* This class is used to set the SshKey. | ||
*/ | ||
@JsonIgnoreProperties(ignoreUnknown = true) | ||
public class SshKey { | ||
|
||
@JsonProperty("Passphrase") | ||
private String passphrase; | ||
@JsonProperty("PrivateKey") | ||
private String privateKey; | ||
|
||
public SshKey() { | ||
} | ||
|
||
public String getPassphrase() { | ||
return passphrase; | ||
} | ||
|
||
public void setPassphrase(String passphrase) { | ||
this.passphrase = passphrase; | ||
} | ||
|
||
public String getPrivateKey() { | ||
return privateKey; | ||
} | ||
|
||
public void setPrivateKey(String privateKey) { | ||
this.privateKey = privateKey; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters