@UriParams public class BoxConfiguration extends Object
Modifier and Type | Field and Description |
---|---|
static String |
APP_ENTERPRISE_AUTHENTICATION
Authentication Types for Connection
|
static String |
APP_USER_AUTHENTICATION |
static String |
RSA_SHA_256 |
static String |
RSA_SHA_384 |
static String |
RSA_SHA_512
Encryption Algorithm Types for Server Authentication.
|
static String |
STANDARD_AUTHENTICATION |
Constructor and Description |
---|
BoxConfiguration() |
Modifier and Type | Method and Description |
---|---|
com.box.sdk.IAccessTokenCache |
getAccessTokenCache()
Custom Access Token Cache for storing and retrieving access tokens.
|
BoxApiName |
getApiName()
What kind of operation to perform
|
String |
getAuthenticationType()
The type of authentication for connection.
|
String |
getClientId()
Box application client ID
|
String |
getClientSecret()
Box application client secret
|
com.box.sdk.EncryptionAlgorithm |
getEncryptionAlgorithm()
The type of encryption algorithm for JWT.
|
String |
getEnterpriseId()
The enterprise ID to use for an App Enterprise.
|
Map<String,Object> |
getHttpParams()
Custom HTTP params for settings like proxy host
|
int |
getMaxCacheEntries()
The maximum number of access tokens in cache.
|
String |
getMethodName()
What sub operation to use for the selected operation
|
String |
getPrivateKeyFile()
The private key for generating the JWT signature.
|
String |
getPrivateKeyPassword()
The password for the private key.
|
String |
getPublicKeyId()
The ID for public key for validating the JWT signature.
|
org.apache.camel.util.jsse.SSLContextParameters |
getSslContextParameters()
To configure security using SSLContextParameters.
|
String |
getUserId()
The user ID to use for an App User.
|
String |
getUserName()
Box user name, MUST be provided
|
String |
getUserPassword()
Box user password, MUST be provided if authSecureStorage is not set, or
returns null on first call
|
void |
setAccessTokenCache(com.box.sdk.IAccessTokenCache accessTokenCache)
Custom Access Token Cache for storing and retrieving access tokens.
|
void |
setApiName(BoxApiName apiName)
What kind of operation to perform
|
void |
setAuthenticationType(String authenticationType)
The type of authentication for connection.
|
void |
setClientId(String clientId)
Box application client ID
|
void |
setClientSecret(String clientSecret)
Box application client secret
|
void |
setEncryptionAlgorithm(String encryptionAlgorithm)
The type of encryption algorithm for JWT.
|
void |
setEnterpriseId(String enterpriseId)
The enterprise ID to use for an App Enterprise.
|
void |
setHttpParams(Map<String,Object> httpParams)
Custom HTTP params for settings like proxy host
|
void |
setMaxCacheEntries(String maxCacheEntries)
The maximum number of access tokens in cache.
|
void |
setMethodName(String methodName)
What sub operation to use for the selected operation
|
void |
setPrivateKeyFile(String privateKey)
The private key for generating the JWT signature.
|
void |
setPrivateKeyPassword(String privateKeyPassword)
The password for the private key.
|
void |
setPublicKeyId(String publicKeyId)
The ID for public key for validating the JWT signature.
|
void |
setSslContextParameters(org.apache.camel.util.jsse.SSLContextParameters sslContextParameters)
To configure security using SSLContextParameters.
|
void |
setUserId(String userId)
The user ID to use for an App User.
|
void |
setUserName(String userName)
Box user name, MUST be provided
|
void |
setUserPassword(String userPassword)
Box user password, MUST be provided if authSecureStorage is not set, or
returns null on first call
|
public static final String APP_ENTERPRISE_AUTHENTICATION
public static final String APP_USER_AUTHENTICATION
public static final String STANDARD_AUTHENTICATION
public static final String RSA_SHA_512
public static final String RSA_SHA_384
public static final String RSA_SHA_256
public BoxApiName getApiName()
public void setApiName(BoxApiName apiName)
apiName
- the API Name to setpublic String getMethodName()
public void setMethodName(String methodName)
methodName
- the methodName to setpublic String getEnterpriseId()
public void setEnterpriseId(String enterpriseId)
enterpriseId
- the enterpriseId to setpublic String getUserId()
public void setUserId(String userId)
userId
- the userId to setpublic String getPublicKeyId()
public void setPublicKeyId(String publicKeyId)
publicKeyId
- the publicKeyId to setpublic String getPrivateKeyFile()
public void setPrivateKeyFile(String privateKey)
privateKey
- the privateKey to setpublic String getPrivateKeyPassword()
public void setPrivateKeyPassword(String privateKeyPassword)
privateKeyPassword
- the privateKeyPassword to setpublic int getMaxCacheEntries()
public void setMaxCacheEntries(String maxCacheEntries)
maxCacheEntries
- the maxCacheEntries to setpublic com.box.sdk.EncryptionAlgorithm getEncryptionAlgorithm()
public void setEncryptionAlgorithm(String encryptionAlgorithm)
Supported Algorithms:
encryptionAlgorithm
- the encryptionAlgorithm to setpublic String getAuthenticationType()
Types of Authentication:
public void setAuthenticationType(String authenticationType)
Types of Authentication:
authenticationType
- the authenticationType to setpublic String getClientId()
public void setClientId(String clientId)
clientId
- the clientId to setpublic String getClientSecret()
public void setClientSecret(String clientSecret)
clientSecret
- the clientSecret to setpublic String getUserName()
public void setUserName(String userName)
userName
- the userName to setpublic String getUserPassword()
public void setUserPassword(String userPassword)
userPassword
- the userPassword to setpublic Map<String,Object> getHttpParams()
public void setHttpParams(Map<String,Object> httpParams)
httpParams
- the httpParams to setpublic org.apache.camel.util.jsse.SSLContextParameters getSslContextParameters()
public void setSslContextParameters(org.apache.camel.util.jsse.SSLContextParameters sslContextParameters)
sslContextParameters
- the sslContextParameters to setpublic com.box.sdk.IAccessTokenCache getAccessTokenCache()
public void setAccessTokenCache(com.box.sdk.IAccessTokenCache accessTokenCache)
accessTokenCache
- - the Custom Access Token CacheApache Camel