com.atlassian.crowd.manager.property
Class PropertyManagerGeneric
java.lang.Object
com.atlassian.crowd.manager.property.PropertyManagerGeneric
- All Implemented Interfaces:
- PropertyManager
public class PropertyManagerGeneric
- extends java.lang.Object
- implements PropertyManager
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PropertyManagerGeneric
public PropertyManagerGeneric(PropertyDAO propertyDAO)
getCacheTime
public long getCacheTime()
throws PropertyManagerException
- Specified by:
getCacheTime in interface PropertyManager
- Throws:
PropertyManagerException
setCacheTime
public void setCacheTime(long cacheTime)
- Specified by:
setCacheTime in interface PropertyManager
getTokenSeed
public java.lang.String getTokenSeed()
throws PropertyManagerException
- Specified by:
getTokenSeed in interface PropertyManager
- Throws:
PropertyManagerException
setTokenSeed
public void setTokenSeed(java.lang.String seed)
- Specified by:
setTokenSeed in interface PropertyManager
getDeploymentTitle
public java.lang.String getDeploymentTitle()
throws PropertyManagerException
- Specified by:
getDeploymentTitle in interface PropertyManager
- Throws:
PropertyManagerException
setDeploymentTitle
public void setDeploymentTitle(java.lang.String title)
- Specified by:
setDeploymentTitle in interface PropertyManager
getDomain
public java.lang.String getDomain()
throws PropertyManagerException
- Specified by:
getDomain in interface PropertyManager
- Throws:
PropertyManagerException
setDomain
public void setDomain(java.lang.String domain)
- Specified by:
setDomain in interface PropertyManager
isSecureCookie
public boolean isSecureCookie()
- Specified by:
isSecureCookie in interface PropertyManager
setSecureCookie
public void setSecureCookie(boolean secure)
- Specified by:
setSecureCookie in interface PropertyManager
setCacheEnabled
public void setCacheEnabled(boolean enabled)
- Specified by:
setCacheEnabled in interface PropertyManager
isCacheEnabled
public boolean isCacheEnabled()
- Specified by:
isCacheEnabled in interface PropertyManager
getSessionTime
public long getSessionTime()
- Specified by:
getSessionTime in interface PropertyManager
setSessionTime
public void setSessionTime(long time)
- Specified by:
setSessionTime in interface PropertyManager
getSMTPServer
public SMTPServer getSMTPServer()
throws PropertyManagerException
- Specified by:
getSMTPServer in interface PropertyManager
- Throws:
PropertyManagerException
setSMTPServer
public void setSMTPServer(SMTPServer server)
- Specified by:
setSMTPServer in interface PropertyManager
getDesEncryptionKey
public java.security.Key getDesEncryptionKey()
throws PropertyManagerException
- Specified by:
getDesEncryptionKey in interface PropertyManager
- Throws:
PropertyManagerException
generateDesEncryptionKey
public void generateDesEncryptionKey()
throws PropertyManagerException
- Specified by:
generateDesEncryptionKey in interface PropertyManager
- Throws:
PropertyManagerException
setSMTPTemplate
public void setSMTPTemplate(java.lang.String template)
- Specified by:
setSMTPTemplate in interface PropertyManager
getSMTPTemplate
public java.lang.String getSMTPTemplate()
throws PropertyManagerException
- Specified by:
getSMTPTemplate in interface PropertyManager
- Throws:
PropertyManagerException
setCurrentLicenseResourceTotal
public void setCurrentLicenseResourceTotal(int total)
- Specified by:
setCurrentLicenseResourceTotal in interface PropertyManager
getCurrentLicenseResourceTotal
public int getCurrentLicenseResourceTotal()
- Specified by:
getCurrentLicenseResourceTotal in interface PropertyManager
setNotificationEmail
public void setNotificationEmail(java.lang.String notificationEmail)
- Specified by:
setNotificationEmail in interface PropertyManager
getNotificationEmail
public java.lang.String getNotificationEmail()
throws PropertyManagerException
- Specified by:
getNotificationEmail in interface PropertyManager
- Throws:
PropertyManagerException
isGzipEnabled
public boolean isGzipEnabled()
throws PropertyManagerException
- Specified by:
isGzipEnabled in interface PropertyManager
- Throws:
PropertyManagerException
setGzipEnabled
public void setGzipEnabled(boolean gzip)
- Specified by:
setGzipEnabled in interface PropertyManager
getBuildNumber
public java.lang.Integer getBuildNumber()
throws PropertyManagerException
- Specified by:
getBuildNumber in interface PropertyManager
- Throws:
PropertyManagerException
setBuildNumber
public void setBuildNumber(java.lang.Integer buildNumber)
- Specified by:
setBuildNumber in interface PropertyManager
getTrustedProxyServers
public java.lang.String getTrustedProxyServers()
throws PropertyManagerException
- Retrieves a String that contains a list of proxy servers we trust to correctly set the X-Forwarded-For flag.
Internal format of this string is the responsibility of
authentication.TrustedProxyManagerImpl.
- Specified by:
getTrustedProxyServers in interface PropertyManager
- Returns:
-
- Throws:
PropertyManagerException - If the list of proxy servers could not be found.
setTrustedProxyServers
public void setTrustedProxyServers(java.lang.String proxyServers)
- Persists a String containing a list of proxy servers we trust to correctly set the X-Forwarded-For flag.
Internal format of this string is the responsibility of
authentication.TrustedProxyManagerImpl.
- Specified by:
setTrustedProxyServers in interface PropertyManager
- Throws:
org.springframework.dao.DataAccessException - If the list of proxy servers could not be saved.
isUsingDatabaseTokenStorage
public boolean isUsingDatabaseTokenStorage()
throws PropertyManagerException
- Specified by:
isUsingDatabaseTokenStorage in interface PropertyManager
- Throws:
PropertyManagerException
setUsingDatabaseTokenStorage
public void setUsingDatabaseTokenStorage(boolean usingMemoryTokenStorage)
- Specified by:
setUsingDatabaseTokenStorage in interface PropertyManager
removeProperty
public void removeProperty(java.lang.String name)
- Specified by:
removeProperty in interface PropertyManager
getPropertyObject
protected Property getPropertyObject(java.lang.String name)
throws ObjectNotFoundException
- Throws:
ObjectNotFoundException
getProperty
public java.lang.String getProperty(java.lang.String name)
throws ObjectNotFoundException
- Specified by:
getProperty in interface PropertyManager
- Throws:
ObjectNotFoundException
setProperty
public void setProperty(java.lang.String name,
java.lang.String value)
- Specified by:
setProperty in interface PropertyManager
Copyright © 2009 Atlassian. All Rights Reserved.