Class CrowdServerClientProperties
java.lang.Object
com.atlassian.crowd.integration.springsecurity.CrowdServerClientProperties
- All Implemented Interfaces:
ClientProperties
Provides ClientProperties to be used in crowd-the-webapp.
Intended to be a bridge for things that still use crowd properties.
In any usages not from springsecurity getting these directly should be prefered.
- Since:
- 3.0
-
Constructor Summary
ConstructorsConstructorDescriptionCrowdServerClientProperties(CrowdApplicationFactory applicationFactory, PropertyManager propertyManager, com.atlassian.sal.api.ApplicationProperties applicationProperties) -
Method Summary
Modifier and TypeMethodDescriptionReturns the application authentication details.Returns the URL of the application's authentication page.Returns the application name.Returns the application password used for authenticating the application.Returns the base URL of the client application.Returns the key of the token cookie.getCookieTokenKey(String def) Returns the key of the token cookie, or the provided value if one isn't set.Returns the maximum number of HTTP connections.Returns the HTTP proxy host.Returns the HTTP proxy password.Returns the HTTP proxy port number.Returns the HTTP proxy username.Returns the HTTP connection timeout value in milliseconds.Returns the session attribute key of the last validation date.Returns the key of the session cookie.longReturns how long the SSO session is valid for in minutes between session validation.Returns in milliseconds how long to wait without retrieving any data from the remote connection.Returns the domain name configured for the SSO clientvoidupdateProperties(Properties properties) Updates all the properties with the new values.
-
Constructor Details
-
CrowdServerClientProperties
public CrowdServerClientProperties(CrowdApplicationFactory applicationFactory, PropertyManager propertyManager, com.atlassian.sal.api.ApplicationProperties applicationProperties)
-
-
Method Details
-
updateProperties
Description copied from interface:ClientPropertiesUpdates all the properties with the new values.- Specified by:
updatePropertiesin interfaceClientProperties- Parameters:
properties- properties to update from
-
getApplicationName
Description copied from interface:ClientPropertiesReturns the application name. Used in application authentication.- Specified by:
getApplicationNamein interfaceClientProperties- Returns:
- application name.
-
getApplicationPassword
Description copied from interface:ClientPropertiesReturns the application password used for authenticating the application.- Specified by:
getApplicationPasswordin interfaceClientProperties- Returns:
- application password.
-
getCookieTokenKey
Description copied from interface:ClientPropertiesReturns the key of the token cookie.- Specified by:
getCookieTokenKeyin interfaceClientProperties- Returns:
- key of the token cookie
-
getCookieTokenKey
Description copied from interface:ClientPropertiesReturns the key of the token cookie, or the provided value if one isn't set.- Specified by:
getCookieTokenKeyin interfaceClientProperties- Parameters:
def- the value to use if no key is configured- Returns:
- key of the token cookie
-
getSessionTokenKey
Description copied from interface:ClientPropertiesReturns the key of the session cookie.- Specified by:
getSessionTokenKeyin interfaceClientProperties- Returns:
- key of the session cookie
-
getSessionLastValidation
Description copied from interface:ClientPropertiesReturns the session attribute key of the last validation date.- Specified by:
getSessionLastValidationin interfaceClientProperties- Returns:
- the session attribute key of the last validation date
-
getSessionValidationInterval
public long getSessionValidationInterval()Description copied from interface:ClientPropertiesReturns 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.- Specified by:
getSessionValidationIntervalin interfaceClientProperties- Returns:
- how long the SSO session is valid for in minutes between session validation
-
getApplicationAuthenticationContext
Description copied from interface:ClientPropertiesReturns the application authentication details.- Specified by:
getApplicationAuthenticationContextin interfaceClientProperties- Returns:
- application authentication details
-
getHttpProxyPort
Description copied from interface:ClientPropertiesReturns the HTTP proxy port number.- Specified by:
getHttpProxyPortin interfaceClientProperties- Returns:
- HTTP proxy port number
-
getHttpProxyHost
Description copied from interface:ClientPropertiesReturns the HTTP proxy host.- Specified by:
getHttpProxyHostin interfaceClientProperties- Returns:
- HTTP proxy host
-
getHttpProxyUsername
Description copied from interface:ClientPropertiesReturns the HTTP proxy username.- Specified by:
getHttpProxyUsernamein interfaceClientProperties- Returns:
- HTTP proxy username
-
getHttpProxyPassword
Description copied from interface:ClientPropertiesReturns the HTTP proxy password.- Specified by:
getHttpProxyPasswordin interfaceClientProperties- Returns:
- HTTP proxy password
-
getHttpMaxConnections
Description copied from interface:ClientPropertiesReturns the maximum number of HTTP connections.- Specified by:
getHttpMaxConnectionsin interfaceClientProperties- Returns:
- maximum number of HTTP connections
-
getHttpTimeout
Description copied from interface:ClientPropertiesReturns the HTTP connection timeout value in milliseconds.- Specified by:
getHttpTimeoutin interfaceClientProperties- Returns:
- HTTP connection timeout values in milliseconds
-
getSocketTimeout
Description copied from interface:ClientPropertiesReturns in milliseconds how long to wait without retrieving any data from the remote connection.- Specified by:
getSocketTimeoutin interfaceClientProperties- Returns:
- socket timeout value in milliseconds
-
getSSOCookieDomainName
Description copied from interface:ClientPropertiesReturns the domain name configured for the SSO client- Specified by:
getSSOCookieDomainNamein interfaceClientProperties- Returns:
- cookie domain name
-
getAuthenticationMethod
- Specified by:
getAuthenticationMethodin interfaceClientProperties- Returns:
- the authentication protocol to be used by the client
-
getBaseURL
Description copied from interface:ClientPropertiesReturns the base URL of the client application.- Specified by:
getBaseURLin interfaceClientProperties- Returns:
- base URL of the client application
-
getApplicationAuthenticationURL
Description copied from interface:ClientPropertiesReturns the URL of the application's authentication page.- Specified by:
getApplicationAuthenticationURLin interfaceClientProperties- Returns:
- URL of the application's authentication page
-