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, wait
updateProperties
protected 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()
ClientProperties
getApplicationName
in interface ClientProperties
public String getApplicationPassword()
ClientProperties
getApplicationPassword
in interface ClientProperties
public String getApplicationAuthenticationURL()
ClientProperties
getApplicationAuthenticationURL
in interface ClientProperties
public String getCookieTokenKey()
ClientProperties
getCookieTokenKey
in interface ClientProperties
public String getCookieTokenKey(String def)
ClientProperties
getCookieTokenKey
in interface ClientProperties
def
- the value to use if no key is configuredpublic String getSessionTokenKey()
ClientProperties
getSessionTokenKey
in interface ClientProperties
public String getSessionLastValidation()
ClientProperties
getSessionLastValidation
in interface ClientProperties
public long getSessionValidationInterval()
ClientProperties
getSessionValidationInterval
in interface ClientProperties
public ApplicationAuthenticationContext getApplicationAuthenticationContext()
ClientProperties
getApplicationAuthenticationContext
in interface ClientProperties
public String getHttpProxyPort()
ClientProperties
getHttpProxyPort
in interface ClientProperties
public String getHttpProxyHost()
ClientProperties
getHttpProxyHost
in interface ClientProperties
public String getHttpProxyUsername()
ClientProperties
getHttpProxyUsername
in interface ClientProperties
public String getHttpProxyPassword()
ClientProperties
getHttpProxyPassword
in interface ClientProperties
public String getHttpMaxConnections()
ClientProperties
getHttpMaxConnections
in interface ClientProperties
public String getHttpTimeout()
ClientProperties
getHttpTimeout
in interface ClientProperties
public String getSocketTimeout()
ClientProperties
getSocketTimeout
in interface ClientProperties
public String getBaseURL()
ClientProperties
getBaseURL
in interface ClientProperties
public String getSSOCookieDomainName()
ClientProperties
getSSOCookieDomainName
in interface ClientProperties
@Nonnull public AuthenticationMethod getAuthenticationMethod()
getAuthenticationMethod
in interface ClientProperties
Copyright © 2021 Atlassian. All rights reserved.