com.atlassian.crowd.service.client
Interface ClientProperties

All Known Implementing Classes:
ClientPropertiesImpl

public interface ClientProperties

Properties required for the Crowd Client. Normally the properties are stored in crowd.properties file.


Method Summary
 ApplicationAuthenticationContext getApplicationAuthenticationContext()
          Returns the application authentication details.
 java.lang.String getApplicationAuthenticationURL()
          Returns the URL of the application's authentication page.
 java.lang.String getApplicationName()
          Returns the application name.
 java.lang.String getApplicationPassword()
          Returns the application password used for authenticating the application.
 java.lang.String getBaseURL()
          Returns the base URL of the client application.
 java.lang.String getCookieTokenKey()
          Returns the key of the token cookie.
 java.lang.String getHttpMaxConnections()
          Returns the maximum number of HTTP connections.
 java.lang.String getHttpProxyHost()
          Returns the HTTP proxy host.
 java.lang.String getHttpProxyPassword()
          Returns the HTTP proxy password.
 java.lang.String getHttpProxyPort()
          Returns the HTTP proxy port number.
 java.lang.String getHttpProxyUsername()
          Returns the HTTP proxy username.
 java.lang.String getHttpTimeout()
          Returns the HTTP connection timeout value in milliseconds.
 java.lang.String getSessionLastValidation()
          Returns the session attribute key of the last validation date.
 java.lang.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.
 void updateProperties(java.util.Properties properties)
          Updates all the properties with the new values.
 

Method Detail

updateProperties

void updateProperties(java.util.Properties properties)
Updates all the properties with the new values.

Parameters:
properties - properties to update from

getApplicationName

java.lang.String getApplicationName()
Returns the application name. Used in application authentication.

Returns:
application name.

getApplicationPassword

java.lang.String getApplicationPassword()
Returns the application password used for authenticating the application.

Returns:
application password.

getApplicationAuthenticationURL

java.lang.String getApplicationAuthenticationURL()
Returns the URL of the application's authentication page.

Returns:
URL of the application's authentication page

getCookieTokenKey

java.lang.String getCookieTokenKey()
Returns the key of the token cookie.

Returns:
key of the token cookie

getSessionTokenKey

java.lang.String getSessionTokenKey()
Returns the key of the session cookie.

Returns:
key of the session cookie

getSessionLastValidation

java.lang.String getSessionLastValidation()
Returns the session attribute key of the last validation date.

Returns:
the session attribute key of the last validation date

getSessionValidationInterval

long getSessionValidationInterval()
Returns how long the SSO session is valid for in minutes between session validation. If the session has not been validated for the specified amount of time, it is considered expired.

Returns:
how long the SSO session is valid for in minutes between session validation

getApplicationAuthenticationContext

ApplicationAuthenticationContext getApplicationAuthenticationContext()
Returns the application authentication details.

Returns:
application authentication details

getHttpProxyPort

java.lang.String getHttpProxyPort()
Returns the HTTP proxy port number.

Returns:
HTTP proxy port number

getHttpProxyHost

java.lang.String getHttpProxyHost()
Returns the HTTP proxy host.

Returns:
HTTP proxy host

getHttpProxyUsername

java.lang.String getHttpProxyUsername()
Returns the HTTP proxy username.

Returns:
HTTP proxy username

getHttpProxyPassword

java.lang.String getHttpProxyPassword()
Returns the HTTP proxy password.

Returns:
HTTP proxy password

getHttpMaxConnections

java.lang.String getHttpMaxConnections()
Returns the maximum number of HTTP connections.

Returns:
maximum number of HTTP connections

getHttpTimeout

java.lang.String getHttpTimeout()
Returns the HTTP connection timeout value in milliseconds.

Returns:
HTTP connection timeout values in milliseconds

getBaseURL

java.lang.String getBaseURL()
Returns the base URL of the client application.

Returns:
base URL of the client application


Copyright © 2010 Atlassian. All Rights Reserved.