public class ImmutableClientProperties extends Object implements ClientProperties
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableClientProperties.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableClientProperties.Builder |
builder() |
static ImmutableClientProperties.Builder |
builder(ImmutableClientProperties data) |
ApplicationAuthenticationContext |
getApplicationAuthenticationContext()
Returns the application authentication details.
|
String |
getApplicationAuthenticationURL()
Returns the URL of the application's authentication page.
|
String |
getApplicationName()
Returns the application name.
|
String |
getApplicationPassword()
Returns the application password used for authenticating the application.
|
AuthenticationMethod |
getAuthenticationMethod() |
String |
getBaseURL()
Returns the base URL of the client application.
|
String |
getCookieTokenKey()
Returns the key of the token cookie.
|
String |
getCookieTokenKey(String defaultKey)
Returns the key of the token cookie, or the provided value if one isn't set.
|
String |
getHttpMaxConnections()
Returns the maximum number of HTTP connections.
|
String |
getHttpProxyHost()
Returns the HTTP proxy host.
|
String |
getHttpProxyPassword()
Returns the HTTP proxy password.
|
String |
getHttpProxyPort()
Returns the HTTP proxy port number.
|
String |
getHttpProxyUsername()
Returns the HTTP proxy username.
|
String |
getHttpTimeout()
Returns the HTTP connection timeout value in milliseconds.
|
String |
getSessionLastValidation()
Returns the session attribute key of the last validation date.
|
String |
getSessionTokenKey()
Returns the key of the session cookie.
|
long |
getSessionValidationInterval()
Returns how long the SSO session is valid for in minutes between session validation.
|
String |
getSocketTimeout()
Returns in milliseconds how long to wait without retrieving any data from the remote
connection.
|
String |
getSSOCookieDomainName()
Returns the domain name configured for the SSO client
|
void |
updateProperties(Properties properties)
Updates all the properties with the new values.
|
public static ImmutableClientProperties.Builder builder()
public static ImmutableClientProperties.Builder builder(ImmutableClientProperties data)
public void updateProperties(Properties properties)
ClientPropertiesupdateProperties in interface ClientPropertiesproperties - properties to update frompublic String getCookieTokenKey(String defaultKey)
ClientPropertiesgetCookieTokenKey in interface ClientPropertiesdefaultKey - the value to use if no key is configuredpublic String getSSOCookieDomainName()
ClientPropertiesgetSSOCookieDomainName in interface ClientPropertiespublic String getApplicationName()
ClientPropertiesgetApplicationName in interface ClientPropertiespublic String getApplicationPassword()
ClientPropertiesgetApplicationPassword in interface ClientPropertiespublic String getApplicationAuthenticationURL()
ClientPropertiesgetApplicationAuthenticationURL in interface ClientPropertiespublic String getCookieTokenKey()
ClientPropertiesgetCookieTokenKey in interface ClientPropertiespublic String getSessionTokenKey()
ClientPropertiesgetSessionTokenKey in interface ClientPropertiespublic String getSessionLastValidation()
ClientPropertiesgetSessionLastValidation in interface ClientPropertiespublic long getSessionValidationInterval()
ClientPropertiesgetSessionValidationInterval in interface ClientPropertiespublic ApplicationAuthenticationContext getApplicationAuthenticationContext()
ClientPropertiesgetApplicationAuthenticationContext in interface ClientPropertiespublic String getHttpProxyPort()
ClientPropertiesgetHttpProxyPort in interface ClientPropertiespublic String getHttpProxyHost()
ClientPropertiesgetHttpProxyHost in interface ClientPropertiespublic String getHttpProxyUsername()
ClientPropertiesgetHttpProxyUsername in interface ClientPropertiespublic String getHttpProxyPassword()
ClientPropertiesgetHttpProxyPassword in interface ClientPropertiespublic String getHttpMaxConnections()
ClientPropertiesgetHttpMaxConnections in interface ClientPropertiespublic String getHttpTimeout()
ClientPropertiesgetHttpTimeout in interface ClientPropertiespublic String getSocketTimeout()
ClientPropertiesgetSocketTimeout in interface ClientPropertiespublic String getBaseURL()
ClientPropertiesgetBaseURL in interface ClientProperties@Nonnull public AuthenticationMethod getAuthenticationMethod()
getAuthenticationMethod in interface ClientPropertiesCopyright © 2024 Atlassian. All rights reserved.