public class Conjur extends Object
| Constructor and Description |
|---|
Conjur()
Create a Conjur instance that uses credentials from the system properties
|
Conjur(Credentials credentials)
Create a Conjur instance that uses a ResourceClient & an AuthnClient constructed with the given credentials
|
Conjur(Credentials credentials,
SSLContext sslContext)
Create a Conjur instance that uses a ResourceClient & an AuthnClient constructed with the given credentials
|
Conjur(SSLContext sslContext)
Create a Conjur instance that uses credentials from the system properties
|
Conjur(String username,
String password)
Create a Conjur instance that uses a ResourceClient & an AuthnClient constructed with the given credentials
|
Conjur(String username,
String password,
SSLContext sslContext)
Create a Conjur instance that uses a ResourceClient & an AuthnClient constructed with the given credentials
|
Conjur(String username,
String password,
String authnUrl)
Create a Conjur instance that uses a ResourceClient & an AuthnClient constructed with the given credentials
|
Conjur(String username,
String password,
String authnUrl,
SSLContext sslContext)
Create a Conjur instance that uses a ResourceClient & an AuthnClient constructed with the given credentials
|
Conjur(Token token)
Create a Conjur instance that uses a ResourceClient & an AuthnClient constructed with the given credentials
|
Conjur(Token token,
SSLContext sslContext)
Create a Conjur instance that uses a ResourceClient & an AuthnClient constructed with the given credentials
|
| Modifier and Type | Method and Description |
|---|---|
Variables |
variables()
Get a Variables instance configured with the same parameters as this instance.
|
public Conjur()
public Conjur(SSLContext sslContext)
sslContext - the SSLContext to use for connections to Conjur serverpublic Conjur(String username, String password)
username - username for the Conjur identity to authenticate aspassword - password or api key for the Conjur identity to authenticate aspublic Conjur(String username, String password, SSLContext sslContext)
username - username for the Conjur identity to authenticate aspassword - password or api key for the Conjur identity to authenticate assslContext - the SSLContext to use for connections to Conjur serverpublic Conjur(String username, String password, String authnUrl)
username - username for the Conjur identity to authenticate aspassword - password or api key for the Conjur identity to authenticate asauthnUrl - the conjur authentication urlpublic Conjur(String username, String password, String authnUrl, SSLContext sslContext)
username - username for the Conjur identity to authenticate aspassword - password or api key for the Conjur identity to authenticate asauthnUrl - the conjur authentication urlsslContext - the SSLContext to use for connections to Conjur serverpublic Conjur(Credentials credentials)
credentials - the conjur identity to authenticate aspublic Conjur(Credentials credentials, SSLContext sslContext)
credentials - the conjur identity to authenticate assslContext - the SSLContext to use for connections to Conjur serverpublic Conjur(Token token)
token - the conjur authorization token to usepublic Conjur(Token token, SSLContext sslContext)
token - the conjur authorization token to usesslContext - the SSLContext to use for connections to Conjur serverpublic Variables variables()
Copyright © 2025. All rights reserved.