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
ConstructorDescriptionCrowdServerClientProperties
(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.long
Returns 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 clientvoid
updateProperties
(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:ClientProperties
Updates all the properties with the new values.- Specified by:
updateProperties
in interfaceClientProperties
- Parameters:
properties
- properties to update from
-
getApplicationName
Description copied from interface:ClientProperties
Returns the application name. Used in application authentication.- Specified by:
getApplicationName
in interfaceClientProperties
- Returns:
- application name.
-
getApplicationPassword
Description copied from interface:ClientProperties
Returns the application password used for authenticating the application.- Specified by:
getApplicationPassword
in interfaceClientProperties
- Returns:
- application password.
-
getCookieTokenKey
Description copied from interface:ClientProperties
Returns the key of the token cookie.- Specified by:
getCookieTokenKey
in interfaceClientProperties
- Returns:
- key of the token cookie
-
getCookieTokenKey
Description copied from interface:ClientProperties
Returns the key of the token cookie, or the provided value if one isn't set.- Specified by:
getCookieTokenKey
in interfaceClientProperties
- Parameters:
def
- the value to use if no key is configured- Returns:
- key of the token cookie
-
getSessionTokenKey
Description copied from interface:ClientProperties
Returns the key of the session cookie.- Specified by:
getSessionTokenKey
in interfaceClientProperties
- Returns:
- key of the session cookie
-
getSessionLastValidation
Description copied from interface:ClientProperties
Returns the session attribute key of the last validation date.- Specified by:
getSessionLastValidation
in interfaceClientProperties
- Returns:
- the session attribute key of the last validation date
-
getSessionValidationInterval
public long getSessionValidationInterval()Description copied from interface:ClientProperties
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.- Specified by:
getSessionValidationInterval
in interfaceClientProperties
- Returns:
- how long the SSO session is valid for in minutes between session validation
-
getApplicationAuthenticationContext
Description copied from interface:ClientProperties
Returns the application authentication details.- Specified by:
getApplicationAuthenticationContext
in interfaceClientProperties
- Returns:
- application authentication details
-
getHttpProxyPort
Description copied from interface:ClientProperties
Returns the HTTP proxy port number.- Specified by:
getHttpProxyPort
in interfaceClientProperties
- Returns:
- HTTP proxy port number
-
getHttpProxyHost
Description copied from interface:ClientProperties
Returns the HTTP proxy host.- Specified by:
getHttpProxyHost
in interfaceClientProperties
- Returns:
- HTTP proxy host
-
getHttpProxyUsername
Description copied from interface:ClientProperties
Returns the HTTP proxy username.- Specified by:
getHttpProxyUsername
in interfaceClientProperties
- Returns:
- HTTP proxy username
-
getHttpProxyPassword
Description copied from interface:ClientProperties
Returns the HTTP proxy password.- Specified by:
getHttpProxyPassword
in interfaceClientProperties
- Returns:
- HTTP proxy password
-
getHttpMaxConnections
Description copied from interface:ClientProperties
Returns the maximum number of HTTP connections.- Specified by:
getHttpMaxConnections
in interfaceClientProperties
- Returns:
- maximum number of HTTP connections
-
getHttpTimeout
Description copied from interface:ClientProperties
Returns the HTTP connection timeout value in milliseconds.- Specified by:
getHttpTimeout
in interfaceClientProperties
- Returns:
- HTTP connection timeout values in milliseconds
-
getSocketTimeout
Description copied from interface:ClientProperties
Returns in milliseconds how long to wait without retrieving any data from the remote connection.- Specified by:
getSocketTimeout
in interfaceClientProperties
- Returns:
- socket timeout value in milliseconds
-
getSSOCookieDomainName
Description copied from interface:ClientProperties
Returns the domain name configured for the SSO client- Specified by:
getSSOCookieDomainName
in interfaceClientProperties
- Returns:
- cookie domain name
-
getAuthenticationMethod
- Specified by:
getAuthenticationMethod
in interfaceClientProperties
- Returns:
- the authentication protocol to be used by the client
-
getBaseURL
Description copied from interface:ClientProperties
Returns the base URL of the client application.- Specified by:
getBaseURL
in interfaceClientProperties
- Returns:
- base URL of the client application
-
getApplicationAuthenticationURL
Description copied from interface:ClientProperties
Returns the URL of the application's authentication page.- Specified by:
getApplicationAuthenticationURL
in interfaceClientProperties
- Returns:
- URL of the application's authentication page
-