Class NoopPropertyManager

java.lang.Object
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 class as it is a dependency of crowd-rest-plugin or crowd-rest-application-management. In future releases of Crowd / Embedded Crowd we should probably do some cleanup there.
Since:
v4.3
  • Constructor Details

    • NoopPropertyManager

      public NoopPropertyManager()
  • Method Details

    • getDeploymentTitle

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

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

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

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

      public boolean isSecureCookie()
      Specified by:
      isSecureCookie in interface com.atlassian.crowd.manager.property.PropertyManager
    • 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()
      Specified by:
      getSMTPServer in interface com.atlassian.crowd.manager.property.PropertyManager
    • 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()
      Specified by:
      getDesEncryptionKey in interface com.atlassian.crowd.manager.property.PropertyManager
    • generateDesEncryptionKey

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

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

      public String getSMTPTemplate()
      Specified by:
      getSMTPTemplate in interface com.atlassian.crowd.manager.property.PropertyManager
    • 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()
      Specified by:
      getNotificationEmail in interface com.atlassian.crowd.manager.property.PropertyManager
    • isGzipEnabled

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

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

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

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

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

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

      public void setAuditLogConfiguration(com.atlassian.crowd.manager.audit.AuditLogConfiguration auditLogConfiguration)
      Specified by:
      setAuditLogConfiguration in interface com.atlassian.crowd.manager.property.PropertyManager
    • getAuditLogConfiguration

      public com.atlassian.crowd.manager.audit.AuditLogConfiguration getAuditLogConfiguration()
      Specified by:
      getAuditLogConfiguration in interface com.atlassian.crowd.manager.property.PropertyManager
    • isUsingDatabaseTokenStorage

      public boolean isUsingDatabaseTokenStorage()
      Specified by:
      isUsingDatabaseTokenStorage in interface com.atlassian.crowd.manager.property.PropertyManager
    • 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)
      Specified by:
      getProperty in interface com.atlassian.crowd.manager.property.PropertyManager
    • getOptionalProperty

      public Optional<String> getOptionalProperty(String name)
      Specified by:
      getOptionalProperty in interface com.atlassian.crowd.manager.property.PropertyManager
    • 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
    • isUseWebAvatars

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

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

      public com.atlassian.crowd.model.authentication.CookieConfiguration getCookieConfiguration()
      Specified by:
      getCookieConfiguration in interface com.atlassian.crowd.manager.property.PropertyManager
    • setCookieConfiguration

      public void setCookieConfiguration(com.atlassian.crowd.model.authentication.CookieConfiguration cookieConfiguration)
      Specified by:
      setCookieConfiguration 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
    • setBaseUrl

      public void setBaseUrl(URI url)
      Specified by:
      setBaseUrl in interface com.atlassian.crowd.manager.property.PropertyManager
    • getBaseUrl

      public URI getBaseUrl() throws com.atlassian.crowd.manager.property.PropertyManagerException
      Specified by:
      getBaseUrl in interface com.atlassian.crowd.manager.property.PropertyManager
      Throws:
      com.atlassian.crowd.manager.property.PropertyManagerException
    • getPrivateKeyCertificatePairToSign

      public Optional<Long> getPrivateKeyCertificatePairToSign()
      Specified by:
      getPrivateKeyCertificatePairToSign in interface com.atlassian.crowd.manager.property.PropertyManager
    • setPrivateKeyCertificateToSign

      public void setPrivateKeyCertificateToSign(long privateKeyCertificatePairId)
      Specified by:
      setPrivateKeyCertificateToSign in interface com.atlassian.crowd.manager.property.PropertyManager
    • getBackupConfiguration

      public com.atlassian.crowd.model.backup.BackupConfiguration getBackupConfiguration()
      Specified by:
      getBackupConfiguration in interface com.atlassian.crowd.manager.property.PropertyManager
    • saveBackupConfiguration

      public void saveBackupConfiguration(com.atlassian.crowd.model.backup.BackupConfiguration config)
      Specified by:
      saveBackupConfiguration in interface com.atlassian.crowd.manager.property.PropertyManager
    • setLookAndFeelConfiguration

      public void setLookAndFeelConfiguration(com.atlassian.crowd.model.lookandfeel.LookAndFeelConfiguration lookAndFeelConfiguration, com.atlassian.crowd.util.ImageInfo updatedLogoInfo) throws com.atlassian.crowd.manager.property.PropertyManagerException
      Specified by:
      setLookAndFeelConfiguration in interface com.atlassian.crowd.manager.property.PropertyManager
      Throws:
      com.atlassian.crowd.manager.property.PropertyManagerException
    • getLookAndFeelConfiguration

      public Optional<com.atlassian.crowd.model.lookandfeel.LookAndFeelConfiguration> getLookAndFeelConfiguration()
      Specified by:
      getLookAndFeelConfiguration in interface com.atlassian.crowd.manager.property.PropertyManager
    • removeLookAndFeelConfiguration

      public void removeLookAndFeelConfiguration()
      Specified by:
      removeLookAndFeelConfiguration in interface com.atlassian.crowd.manager.property.PropertyManager
    • getLogoImage

      public Optional<com.atlassian.crowd.util.ImageInfo> getLogoImage()
      Specified by:
      getLogoImage in interface com.atlassian.crowd.manager.property.PropertyManager