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 String |
asapIssuer |
protected String |
asapKeyIdentifier |
protected boolean |
asapSubjectRequired |
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.
|
String |
getAsapIssuer()
Returns the ASAP issuer for the client (only relevant if
ClientProperties.getAuthenticationMethod() returns ASAP). |
String |
getAsapKeyIdentifier()
Returns the ASAP key identifier for the client (only relevant if
ClientProperties.getAuthenticationMethod() returns ASAP). |
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
|
boolean |
isAsapSubjectRequired()
Returns whether the
application name should be used as the subject of the
ASAP signature (only relevant if ClientProperties.getAuthenticationMethod() returns ASAP) |
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 String asapKeyIdentifier
protected String asapIssuer
protected boolean asapSubjectRequired
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 ClientPropertiespublic AuthenticationMethod getAuthenticationMethod()
getAuthenticationMethod in interface ClientProperties@Nullable public String getAsapKeyIdentifier()
ClientPropertiesClientProperties.getAuthenticationMethod() returns ASAP).getAsapKeyIdentifier in interface ClientProperties@Nullable public String getAsapIssuer()
ClientPropertiesClientProperties.getAuthenticationMethod() returns ASAP).getAsapIssuer in interface ClientPropertiespublic boolean isAsapSubjectRequired()
ClientPropertiesapplication name should be used as the subject of the
ASAP signature (only relevant if ClientProperties.getAuthenticationMethod() returns ASAP)isAsapSubjectRequired in interface ClientPropertiestrue if application name should be used as the subject,
false if no subject should be used in the ASAP signatureCopyright © 2017 Atlassian. All rights reserved.