public abstract class AbstractClientProperties extends Object implements ClientProperties
| Modifier and Type | Field and Description |
|---|---|
protected ApplicationAuthenticationContext |
applicationAuthenticationContext |
protected String |
applicationAuthenticationURL |
protected String |
applicationName |
protected String |
applicationPassword |
protected AuthenticationMethod |
authenticationMethod |
protected String |
baseURL |
protected String |
cookieTokenKey |
protected String |
httpMaxConnections |
protected String |
httpProxyHost |
protected String |
httpProxyPassword |
protected String |
httpProxyPort |
protected String |
httpProxyUsername |
protected String |
httpTimeout |
protected String |
sessionLastValidation |
protected String |
sessionTokenKey |
protected long |
sessionValidationInterval |
protected String |
socketTimeout |
protected String |
ssoCookieDomainName |
| Constructor and Description |
|---|
AbstractClientProperties() |
| Modifier and Type | Method and Description |
|---|---|
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 def)
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
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitupdatePropertiesprotected String applicationName
protected String applicationPassword
protected String applicationAuthenticationURL
protected String cookieTokenKey
protected String sessionTokenKey
protected String sessionLastValidation
protected long sessionValidationInterval
protected String baseURL
protected String httpProxyPort
protected String httpProxyHost
protected String httpProxyUsername
protected String httpProxyPassword
protected String httpMaxConnections
protected String httpTimeout
protected String socketTimeout
protected String ssoCookieDomainName
protected AuthenticationMethod authenticationMethod
protected ApplicationAuthenticationContext applicationAuthenticationContext
public 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 getCookieTokenKey(String def)
ClientPropertiesgetCookieTokenKey in interface ClientPropertiesdef - the value to use if no key is configuredpublic 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 ClientPropertiespublic String getSSOCookieDomainName()
ClientPropertiesgetSSOCookieDomainName in interface ClientProperties@Nonnull public AuthenticationMethod getAuthenticationMethod()
getAuthenticationMethod in interface ClientPropertiesCopyright © 2024 Atlassian. All rights reserved.