com.atlassian.jira.crowd.embedded
Class NoopPropertyManager

java.lang.Object
  extended by com.atlassian.jira.crowd.embedded.NoopPropertyManager
All Implemented Interfaces:
com.atlassian.crowd.manager.property.PropertyManager

public class NoopPropertyManager
extends Object
implements com.atlassian.crowd.manager.property.PropertyManager

We don't provide any of this functionality. Just need to provide this guy because Crowd Rest Plugin needs an implementation.

Since:
v4.3

Constructor Summary
NoopPropertyManager()
           
 
Method Summary
 void generateDesEncryptionKey()
           
 boolean getBoolean(String property, boolean defaultValue)
           
 Integer getBuildNumber()
           
 long getCacheTime()
           
 int getCurrentLicenseResourceTotal()
           
 String getDeploymentTitle()
           
 Key getDesEncryptionKey()
           
 String getDomain()
           
 int getInt(String property, int defaultValue)
           
 String getNotificationEmail()
           
 String getProperty(String name)
           
 long getSessionTime()
           
 com.atlassian.crowd.util.mail.SMTPServer getSMTPServer()
           
 String getSMTPTemplate()
           
 String getString(String property, String defaultValue)
           
 String getTokenSeed()
           
 String getTrustedProxyServers()
           
 boolean isCacheEnabled()
           
 boolean isGzipEnabled()
           
 boolean isIncludeIpAddressInValidationFactors()
           
 boolean isSecureCookie()
           
 boolean isUsingDatabaseTokenStorage()
           
 void removeProperty(String name)
           
 void setBuildNumber(Integer buildNumber)
           
 void setCacheEnabled(boolean enabled)
           
 void setCacheTime(long cacheTime)
           
 void setCurrentLicenseResourceTotal(int total)
           
 void setDeploymentTitle(String title)
           
 void setDomain(String domain)
           
 void setGzipEnabled(boolean gzip)
           
 void setIncludeIpAddressInValidationFactors(boolean b)
           
 void setNotificationEmail(String notificationEmail)
           
 void setProperty(String name, String value)
           
 void setSecureCookie(boolean secure)
           
 void setSessionTime(long time)
           
 void setSMTPServer(com.atlassian.crowd.util.mail.SMTPServer server)
           
 void setSMTPTemplate(String template)
           
 void setTokenSeed(String seed)
           
 void setTrustedProxyServers(String proxyServers)
           
 void setUsingDatabaseTokenStorage(boolean usingDatabaseTokenStorage)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoopPropertyManager

public NoopPropertyManager()
Method Detail

getCacheTime

public long getCacheTime()
                  throws com.atlassian.crowd.manager.property.PropertyManagerException
Specified by:
getCacheTime in interface com.atlassian.crowd.manager.property.PropertyManager
Throws:
com.atlassian.crowd.manager.property.PropertyManagerException

setCacheTime

public void setCacheTime(long cacheTime)
Specified by:
setCacheTime in interface com.atlassian.crowd.manager.property.PropertyManager

getTokenSeed

public String getTokenSeed()
                    throws com.atlassian.crowd.manager.property.PropertyManagerException
Specified by:
getTokenSeed in interface com.atlassian.crowd.manager.property.PropertyManager
Throws:
com.atlassian.crowd.manager.property.PropertyManagerException

setTokenSeed

public void setTokenSeed(String seed)
Specified by:
setTokenSeed in interface com.atlassian.crowd.manager.property.PropertyManager

getDeploymentTitle

public String getDeploymentTitle()
                          throws com.atlassian.crowd.manager.property.PropertyManagerException
Specified by:
getDeploymentTitle in interface com.atlassian.crowd.manager.property.PropertyManager
Throws:
com.atlassian.crowd.manager.property.PropertyManagerException

setDeploymentTitle

public void setDeploymentTitle(String title)
Specified by:
setDeploymentTitle in interface com.atlassian.crowd.manager.property.PropertyManager

getDomain

public String getDomain()
                 throws com.atlassian.crowd.manager.property.PropertyManagerException
Specified by:
getDomain in interface com.atlassian.crowd.manager.property.PropertyManager
Throws:
com.atlassian.crowd.manager.property.PropertyManagerException

setDomain

public void setDomain(String domain)
Specified by:
setDomain in interface com.atlassian.crowd.manager.property.PropertyManager

isSecureCookie

public boolean isSecureCookie()
                       throws com.atlassian.crowd.manager.property.PropertyManagerException
Specified by:
isSecureCookie in interface com.atlassian.crowd.manager.property.PropertyManager
Throws:
com.atlassian.crowd.manager.property.PropertyManagerException

setSecureCookie

public void setSecureCookie(boolean secure)
Specified by:
setSecureCookie in interface com.atlassian.crowd.manager.property.PropertyManager

setCacheEnabled

public void setCacheEnabled(boolean enabled)
Specified by:
setCacheEnabled in interface com.atlassian.crowd.manager.property.PropertyManager

isCacheEnabled

public boolean isCacheEnabled()
Specified by:
isCacheEnabled in interface com.atlassian.crowd.manager.property.PropertyManager

getSessionTime

public long getSessionTime()
Specified by:
getSessionTime in interface com.atlassian.crowd.manager.property.PropertyManager

setSessionTime

public void setSessionTime(long time)
Specified by:
setSessionTime in interface com.atlassian.crowd.manager.property.PropertyManager

getSMTPServer

public com.atlassian.crowd.util.mail.SMTPServer getSMTPServer()
                                                       throws com.atlassian.crowd.manager.property.PropertyManagerException
Specified by:
getSMTPServer in interface com.atlassian.crowd.manager.property.PropertyManager
Throws:
com.atlassian.crowd.manager.property.PropertyManagerException

setSMTPServer

public void setSMTPServer(com.atlassian.crowd.util.mail.SMTPServer server)
Specified by:
setSMTPServer in interface com.atlassian.crowd.manager.property.PropertyManager

getDesEncryptionKey

public Key getDesEncryptionKey()
                        throws com.atlassian.crowd.manager.property.PropertyManagerException
Specified by:
getDesEncryptionKey in interface com.atlassian.crowd.manager.property.PropertyManager
Throws:
com.atlassian.crowd.manager.property.PropertyManagerException

generateDesEncryptionKey

public void generateDesEncryptionKey()
                              throws com.atlassian.crowd.manager.property.PropertyManagerException
Specified by:
generateDesEncryptionKey in interface com.atlassian.crowd.manager.property.PropertyManager
Throws:
com.atlassian.crowd.manager.property.PropertyManagerException

setSMTPTemplate

public void setSMTPTemplate(String template)
Specified by:
setSMTPTemplate in interface com.atlassian.crowd.manager.property.PropertyManager

getSMTPTemplate

public String getSMTPTemplate()
                       throws com.atlassian.crowd.manager.property.PropertyManagerException
Specified by:
getSMTPTemplate in interface com.atlassian.crowd.manager.property.PropertyManager
Throws:
com.atlassian.crowd.manager.property.PropertyManagerException

setCurrentLicenseResourceTotal

public void setCurrentLicenseResourceTotal(int total)
Specified by:
setCurrentLicenseResourceTotal in interface com.atlassian.crowd.manager.property.PropertyManager

getCurrentLicenseResourceTotal

public int getCurrentLicenseResourceTotal()
Specified by:
getCurrentLicenseResourceTotal in interface com.atlassian.crowd.manager.property.PropertyManager

setNotificationEmail

public void setNotificationEmail(String notificationEmail)
Specified by:
setNotificationEmail in interface com.atlassian.crowd.manager.property.PropertyManager

getNotificationEmail

public String getNotificationEmail()
                            throws com.atlassian.crowd.manager.property.PropertyManagerException
Specified by:
getNotificationEmail in interface com.atlassian.crowd.manager.property.PropertyManager
Throws:
com.atlassian.crowd.manager.property.PropertyManagerException

isGzipEnabled

public boolean isGzipEnabled()
                      throws com.atlassian.crowd.manager.property.PropertyManagerException
Specified by:
isGzipEnabled in interface com.atlassian.crowd.manager.property.PropertyManager
Throws:
com.atlassian.crowd.manager.property.PropertyManagerException

setGzipEnabled

public void setGzipEnabled(boolean gzip)
Specified by:
setGzipEnabled in interface com.atlassian.crowd.manager.property.PropertyManager

getBuildNumber

public Integer getBuildNumber()
                       throws com.atlassian.crowd.manager.property.PropertyManagerException
Specified by:
getBuildNumber in interface com.atlassian.crowd.manager.property.PropertyManager
Throws:
com.atlassian.crowd.manager.property.PropertyManagerException

setBuildNumber

public void setBuildNumber(Integer buildNumber)
Specified by:
setBuildNumber in interface com.atlassian.crowd.manager.property.PropertyManager

getTrustedProxyServers

public String getTrustedProxyServers()
                              throws com.atlassian.crowd.manager.property.PropertyManagerException
Specified by:
getTrustedProxyServers in interface com.atlassian.crowd.manager.property.PropertyManager
Throws:
com.atlassian.crowd.manager.property.PropertyManagerException

setTrustedProxyServers

public void setTrustedProxyServers(String proxyServers)
Specified by:
setTrustedProxyServers in interface com.atlassian.crowd.manager.property.PropertyManager

isUsingDatabaseTokenStorage

public boolean isUsingDatabaseTokenStorage()
                                    throws com.atlassian.crowd.manager.property.PropertyManagerException
Specified by:
isUsingDatabaseTokenStorage in interface com.atlassian.crowd.manager.property.PropertyManager
Throws:
com.atlassian.crowd.manager.property.PropertyManagerException

setUsingDatabaseTokenStorage

public void setUsingDatabaseTokenStorage(boolean usingDatabaseTokenStorage)
Specified by:
setUsingDatabaseTokenStorage in interface com.atlassian.crowd.manager.property.PropertyManager

removeProperty

public void removeProperty(String name)
Specified by:
removeProperty in interface com.atlassian.crowd.manager.property.PropertyManager

getProperty

public String getProperty(String name)
                   throws com.atlassian.crowd.exception.ObjectNotFoundException
Specified by:
getProperty in interface com.atlassian.crowd.manager.property.PropertyManager
Throws:
com.atlassian.crowd.exception.ObjectNotFoundException

setProperty

public void setProperty(String name,
                        String value)
Specified by:
setProperty in interface com.atlassian.crowd.manager.property.PropertyManager

isIncludeIpAddressInValidationFactors

public boolean isIncludeIpAddressInValidationFactors()
Specified by:
isIncludeIpAddressInValidationFactors in interface com.atlassian.crowd.manager.property.PropertyManager

setIncludeIpAddressInValidationFactors

public void setIncludeIpAddressInValidationFactors(boolean b)
Specified by:
setIncludeIpAddressInValidationFactors in interface com.atlassian.crowd.manager.property.PropertyManager

getString

public String getString(String property,
                        String defaultValue)
Specified by:
getString in interface com.atlassian.crowd.manager.property.PropertyManager

getBoolean

public boolean getBoolean(String property,
                          boolean defaultValue)
Specified by:
getBoolean in interface com.atlassian.crowd.manager.property.PropertyManager

getInt

public int getInt(String property,
                  int defaultValue)
Specified by:
getInt in interface com.atlassian.crowd.manager.property.PropertyManager


Copyright © 2002-2014 Atlassian. All Rights Reserved.