Class CoreConfig

java.lang.Object
cz.metacentrum.perun.core.api.CoreConfig

public class CoreConfig extends Object
Core configuration values. Bean initialized by Spring.
Author:
Martin Kuba makub@ics.muni.cz
  • Constructor Details

    • CoreConfig

      public CoreConfig()
  • Method Details

    • initBeansUtils

      public void initBeansUtils()
      Stores this bean into static BeansUtils for backward compatibility. Called by init-method in perun-base.xml.
    • getGroupMaxConcurentGroupsToSynchronize

      public int getGroupMaxConcurentGroupsToSynchronize()
    • setGroupMaxConcurentGroupsToSynchronize

      public void setGroupMaxConcurentGroupsToSynchronize(int groupMaxConcurentGroupsToSynchronize)
    • getGroupMaxConcurrentGroupsStructuresToSynchronize

      public int getGroupMaxConcurrentGroupsStructuresToSynchronize()
    • setGroupMaxConcurrentGroupsStructuresToSynchronize

      public void setGroupMaxConcurrentGroupsStructuresToSynchronize(int groupMaxConcurrentGroupsStructuresToSynchronize)
    • getGroupStructureSynchronizationInterval

      public int getGroupStructureSynchronizationInterval()
    • setGroupStructureSynchronizationInterval

      public void setGroupStructureSynchronizationInterval(int groupSynchronizationInterval)
    • getGroupStructureSynchronizationTimeout

      public int getGroupStructureSynchronizationTimeout()
    • setGroupStructureSynchronizationTimeout

      public void setGroupStructureSynchronizationTimeout(int groupStructureSynchronizationTimeout)
    • setDbInitializatorEnabled

      public void setDbInitializatorEnabled(boolean dbInitializatorEnabled)
    • setReadOnlyPerun

      public void setReadOnlyPerun(boolean readOnlyPerun)
    • getGroupSynchronizationInterval

      public int getGroupSynchronizationInterval()
    • setGroupSynchronizationInterval

      public void setGroupSynchronizationInterval(int groupSynchronizationInterval)
    • getGroupSynchronizationTimeout

      public int getGroupSynchronizationTimeout()
    • setGroupSynchronizationTimeout

      public void setGroupSynchronizationTimeout(int groupSynchronizationTimeout)
    • getMailchangeValidationWindow

      public int getMailchangeValidationWindow()
    • setMailchangeValidationWindow

      public void setMailchangeValidationWindow(int mailchangeValidationWindow)
    • getPwdresetValidationWindow

      public int getPwdresetValidationWindow()
    • setPwdresetValidationWindow

      public void setPwdresetValidationWindow(int pwdresetValidationWindow)
    • getAccountActivationValidationWindow

      public int getAccountActivationValidationWindow()
    • setAccountActivationValidationWindow

      public void setAccountActivationValidationWindow(int accountActivationValidationWindow)
    • getAdmins

      public List<String> getAdmins()
    • setAdmins

      public void setAdmins(List<String> admins)
    • getEnginePrincipals

      public List<String> getEnginePrincipals()
    • setEnginePrincipals

      public void setEnginePrincipals(List<String> enginePrincipals)
    • getGeneratedLoginNamespaces

      public List<String> getGeneratedLoginNamespaces()
    • setGeneratedLoginNamespaces

      public void setGeneratedLoginNamespaces(List<String> generatedLoginNamespaces)
    • getNotificationPrincipals

      public List<String> getNotificationPrincipals()
    • setNotificationPrincipals

      public void setNotificationPrincipals(List<String> notificationPrincipals)
    • getProxyIdPs

      public List<String> getProxyIdPs()
    • setProxyIdPs

      public void setProxyIdPs(List<String> proxyIdPs)
    • getRegistrarPrincipals

      public List<String> getRegistrarPrincipals()
    • setRegistrarPrincipals

      public void setRegistrarPrincipals(List<String> registrarPrincipals)
    • getRpcPowerusers

      public List<String> getRpcPowerusers()
    • setRpcPowerusers

      public void setRpcPowerusers(List<String> rpcPowerusers)
    • getDontLookupUsers

      public Set<String> getDontLookupUsers()
    • setDontLookupUsers

      public void setDontLookupUsers(Set<String> dontLookupUsers)
    • getExtSourcesMultipleIdentifiers

      public Set<String> getExtSourcesMultipleIdentifiers()
    • setExtSourcesMultipleIdentifiers

      public void setExtSourcesMultipleIdentifiers(Set<String> extSourcesMultipleIdentifiers)
    • getLookupUserByIdentifiersAndExtSourceLogin

      public boolean getLookupUserByIdentifiersAndExtSourceLogin()
    • setLookupUserByIdentifiersAndExtSourceLogin

      public void setLookupUserByIdentifiersAndExtSourceLogin(boolean lookupUserByIdentifiersAndExtSourceLogin)
    • getForceConsents

      public boolean getForceConsents()
    • setForceConsents

      public void setForceConsents(boolean forceConsents)
    • getAlternativePasswordManagerProgram

      public String getAlternativePasswordManagerProgram()
    • setAlternativePasswordManagerProgram

      public void setAlternativePasswordManagerProgram(String alternativePasswordManagerProgram)
    • getInstanceId

      public String getInstanceId()
    • setInstanceId

      public void setInstanceId(String instanceId)
    • getInstanceName

      public String getInstanceName()
    • setInstanceName

      public void setInstanceName(String instanceName)
    • getMailchangeBackupFrom

      public String getMailchangeBackupFrom()
    • setMailchangeBackupFrom

      public void setMailchangeBackupFrom(String mailchangeBackupFrom)
    • getMailchangeSecretKey

      public String getMailchangeSecretKey()
    • setMailchangeSecretKey

      public void setMailchangeSecretKey(String mailchangeSecretKey)
    • getNativeLanguage

      public String getNativeLanguage()
    • setNativeLanguage

      public void setNativeLanguage(String nativeLanguage)
    • getPasswordManagerProgram

      public String getPasswordManagerProgram()
    • setPasswordManagerProgram

      public void setPasswordManagerProgram(String passwordManagerProgram)
    • getPwdresetInitVector

      public String getPwdresetInitVector()
    • setPwdresetInitVector

      public void setPwdresetInitVector(String pwdresetInitVector)
    • getPwdresetSecretKey

      public String getPwdresetSecretKey()
    • setPwdresetSecretKey

      public void setPwdresetSecretKey(String pwdresetSecretKey)
    • getRecaptchaPrivateKey

      public String getRecaptchaPrivateKey()
    • setRecaptchaPrivateKey

      public void setRecaptchaPrivateKey(String recaptchaPrivateKey)
    • getRpcPrincipal

      public String getRpcPrincipal()
    • setRpcPrincipal

      public void setRpcPrincipal(String rpcPrincipal)
    • getRtDefaultQueue

      public String getRtDefaultQueue()
    • setRtDefaultQueue

      public void setRtDefaultQueue(String rtDefaultQueue)
    • getRtServiceuserPassword

      public String getRtServiceuserPassword()
    • setRtServiceuserPassword

      public void setRtServiceuserPassword(String rtServiceuserPassword)
    • getRtServiceuserUsername

      public String getRtServiceuserUsername()
    • setRtServiceuserUsername

      public void setRtServiceuserUsername(String rtServiceuserUsername)
    • getRtUrl

      public String getRtUrl()
    • setRtUrl

      public void setRtUrl(String rtUrl)
    • getSmsProgram

      public String getSmsProgram()
    • setSmsProgram

      public void setSmsProgram(String smsProgram)
    • getUserExtSourcesPersistent

      public String getUserExtSourcesPersistent()
    • setUserExtSourcesPersistent

      public void setUserExtSourcesPersistent(String userExtSourcesPersistent)
    • setOidcIssuers

      public void setOidcIssuers(List<String> oidcIssuers)
    • getOidcIssuersExtsourceNames

      public Map<String,String> getOidcIssuersExtsourceNames()
    • getOidcIssuersExtsourceTypes

      public Map<String,String> getOidcIssuersExtsourceTypes()
    • getAttributesForUpdate

      public Map<String,List<AttributeDefinition>> getAttributesForUpdate()
      Attributes to be saved when new PerunSession is created.
      Returns:
      a map from ExtSource types like ExtSourcesManager.EXTSOURCE_IDP to lists of attribute definitions
    • setAttributesForUpdateIdP

      public void setAttributesForUpdateIdP(List<String> attrNames)
    • setAttributesForUpdateX509

      public void setAttributesForUpdateX509(List<String> attrNames)
    • setProperties

      public void setProperties(Properties properties)
    • getAllowedCorsDomains

      public List<String> getAllowedCorsDomains()
    • setAllowedCorsDomains

      public void setAllowedCorsDomains(List<String> allowedCorsDomains)
    • getPdfFontPath

      public String getPdfFontPath()
    • setPdfFontPath

      public void setPdfFontPath(String pdfFontPath)
    • getSmtpHost

      public String getSmtpHost()
    • setSmtpHost

      public void setSmtpHost(String smtpHost)
    • getSmtpPort

      public int getSmtpPort()
    • setSmtpPort

      public void setSmtpPort(int smtpPort)
    • isSmtpAuth

      public boolean isSmtpAuth()
    • setSmtpAuth

      public void setSmtpAuth(boolean smtpAuth)
    • isSmtpStartTls

      public boolean isSmtpStartTls()
    • setSmtpStartTls

      public void setSmtpStartTls(boolean smtpStartTls)
    • isMailDebug

      public boolean isMailDebug()
    • setMailDebug

      public void setMailDebug(boolean mailDebug)
    • getSmtpUser

      public String getSmtpUser()
    • setSmtpUser

      public void setSmtpUser(String smtpUser)
    • getSmtpPass

      public String getSmtpPass()
    • setSmtpPass

      public void setSmtpPass(String smtpPass)
    • getAutocreatedNamespaces

      public List<String> getAutocreatedNamespaces()
    • setAutocreatedNamespaces

      public void setAutocreatedNamespaces(List<String> autocreatedNamespaces)
    • setRtSendToMail

      public void setRtSendToMail(String rtSendToMail)
    • getRtSendToMail

      public String getRtSendToMail()
    • getQueryTimeout

      public int getQueryTimeout()
    • setQueryTimeout

      public void setQueryTimeout(int queryTimeout)
    • setDefaultLoaIdP

      public void setDefaultLoaIdP(String defaultLoaIdP)
    • getDefaultLoaIdP

      public String getDefaultLoaIdP()
    • getGroupNameSecondaryRegex

      public String getGroupNameSecondaryRegex()
    • setGroupNameSecondaryRegex

      public void setGroupNameSecondaryRegex(String groupNameSecondaryRegex)
    • getGroupFullNameSecondaryRegex

      public String getGroupFullNameSecondaryRegex()
    • setGroupFullNameSecondaryRegex

      public void setGroupFullNameSecondaryRegex(String groupFullNameSecondaryRegex)
    • getAttributesToSearchUsersAndMembersBy

      public List<String> getAttributesToSearchUsersAndMembersBy()
    • setAttributesToSearchUsersAndMembersBy

      public void setAttributesToSearchUsersAndMembersBy(List<String> attributesToSearchUsersAndMembersBy)
    • getAttributesToAnonymize

      public List<String> getAttributesToAnonymize()
    • setAttributesToAnonymize

      public void setAttributesToAnonymize(List<String> attributesToAnonymize)
    • getAttributesToKeep

      public List<String> getAttributesToKeep()
    • setAttributesToKeep

      public void setAttributesToKeep(List<String> attributesToKeep)
    • isSendIdentityAlerts

      public boolean isSendIdentityAlerts()
    • setSendIdentityAlerts

      public void setSendIdentityAlerts(boolean sendIdentityAlerts)
    • isFindSimilarUsersDisabled

      public boolean isFindSimilarUsersDisabled()
    • setFindSimilarUsersDisabled

      public void setFindSimilarUsersDisabled(boolean findSimilarUsersDisabled)