|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.crowd.service.client.ClientPropertiesImpl
public class ClientPropertiesImpl
This bean is a container for the application's crowd.properties.
| Constructor Summary | |
|---|---|
protected |
ClientPropertiesImpl()
|
| 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. |
protected java.lang.String |
loadAndLogPropertyString(java.util.Properties properties,
java.lang.String propertyName)
|
static ClientPropertiesImpl |
newInstanceFromProperties(java.util.Properties properties)
|
static ClientPropertiesImpl |
newInstanceFromResourceLocator(ResourceLocator resourceLocator)
|
protected void |
setBaseURL(java.lang.String baseURL)
|
java.lang.String |
toString()
|
void |
updateProperties(java.util.Properties properties)
Updates all the properties with the new values. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected ClientPropertiesImpl()
| Method Detail |
|---|
public void updateProperties(java.util.Properties properties)
ClientProperties
updateProperties in interface ClientPropertiesproperties - properties to update from
protected java.lang.String loadAndLogPropertyString(java.util.Properties properties,
java.lang.String propertyName)
public java.lang.String getApplicationName()
ClientProperties
getApplicationName in interface ClientPropertiespublic java.lang.String getApplicationPassword()
ClientProperties
getApplicationPassword in interface ClientPropertiespublic java.lang.String getApplicationAuthenticationURL()
ClientProperties
getApplicationAuthenticationURL in interface ClientPropertiespublic java.lang.String getCookieTokenKey()
ClientProperties
getCookieTokenKey in interface ClientPropertiespublic java.lang.String getSessionTokenKey()
ClientProperties
getSessionTokenKey in interface ClientPropertiespublic java.lang.String getSessionLastValidation()
ClientProperties
getSessionLastValidation in interface ClientPropertiespublic long getSessionValidationInterval()
ClientProperties
getSessionValidationInterval in interface ClientPropertiespublic ApplicationAuthenticationContext getApplicationAuthenticationContext()
ClientProperties
getApplicationAuthenticationContext in interface ClientPropertiespublic java.lang.String getHttpProxyPort()
ClientProperties
getHttpProxyPort in interface ClientPropertiespublic java.lang.String getHttpProxyHost()
ClientProperties
getHttpProxyHost in interface ClientPropertiespublic java.lang.String getHttpProxyUsername()
ClientProperties
getHttpProxyUsername in interface ClientPropertiespublic java.lang.String getHttpProxyPassword()
ClientProperties
getHttpProxyPassword in interface ClientPropertiespublic java.lang.String getHttpMaxConnections()
ClientProperties
getHttpMaxConnections in interface ClientPropertiespublic java.lang.String getHttpTimeout()
ClientProperties
getHttpTimeout in interface ClientPropertiespublic java.lang.String getBaseURL()
ClientProperties
getBaseURL in interface ClientPropertiesprotected void setBaseURL(java.lang.String baseURL)
public static ClientPropertiesImpl newInstanceFromResourceLocator(ResourceLocator resourceLocator)
public static ClientPropertiesImpl newInstanceFromProperties(java.util.Properties properties)
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||