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

    • getAccountActivationValidationWindow

      public int getAccountActivationValidationWindow()
    • setAccountActivationValidationWindow

      public void setAccountActivationValidationWindow(int accountActivationValidationWindow)
    • getAdmins

      public List<String> getAdmins()
    • setAdmins

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

      public List<String> getAllowedCorsDomains()
    • setAllowedCorsDomains

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

      public String getAlternativePasswordManagerProgram()
    • setAlternativePasswordManagerProgram

      public void setAlternativePasswordManagerProgram(String alternativePasswordManagerProgram)
    • getAppAllowedRoles

      public Map<String,List<String>> getAppAllowedRoles()
    • setAppAllowedRoles

      public void setAppAllowedRoles(List<String> apps)
    • 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
    • getAttributesToAnonymize

      public List<String> getAttributesToAnonymize()
    • setAttributesToAnonymize

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

      public List<String> getAttributesToKeep()
    • setAttributesToKeep

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

      public List<String> getAttributesToSearchUsersAndMembersBy()
    • setAttributesToSearchUsersAndMembersBy

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

      public List<String> getAutocreatedNamespaces()
    • setAutocreatedNamespaces

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

      public Set<String> getBlockedLogins()
      Get all logins blocked by default (used by internal components).
      Returns:
      set of logins used by instance
    • getDefaultLoaIdP

      public String getDefaultLoaIdP()
    • setDefaultLoaIdP

      public void setDefaultLoaIdP(String defaultLoaIdP)
    • getDontLookupUsers

      public Set<String> getDontLookupUsers()
    • setDontLookupUsers

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

      public List<String> getEnginePrincipals()
    • setEnginePrincipals

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

      public Set<String> getExtSourcesMultipleIdentifiers()
    • setExtSourcesMultipleIdentifiers

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

      public List<String> getExternalProgramsDependencies()
    • setExternalProgramsDependencies

      public void setExternalProgramsDependencies(List<String> externalProgramsDependencies)
    • getForceConsents

      public boolean getForceConsents()
    • setForceConsents

      public void setForceConsents(boolean forceConsents)
    • isArchiveSpool

      public boolean isArchiveSpool()
    • setArchiveSpool

      public void setArchiveSpool(boolean archiveSpool)
    • getForceHtmlSanitization

      public boolean getForceHtmlSanitization()
    • setForceHtmlSanitization

      public void setForceHtmlSanitization(boolean forceHtmlSanitization)
    • getGeneratedLoginNamespaces

      public List<String> getGeneratedLoginNamespaces()
    • setGeneratedLoginNamespaces

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

      public String getGroupFullNameSecondaryRegex()
    • setGroupFullNameSecondaryRegex

      public void setGroupFullNameSecondaryRegex(String groupFullNameSecondaryRegex)
    • getGroupMaxConcurentGroupsToSynchronize

      public int getGroupMaxConcurentGroupsToSynchronize()
    • setGroupMaxConcurentGroupsToSynchronize

      public void setGroupMaxConcurentGroupsToSynchronize(int groupMaxConcurentGroupsToSynchronize)
    • getGroupMaxConcurrentGroupsStructuresToSynchronize

      public int getGroupMaxConcurrentGroupsStructuresToSynchronize()
    • setGroupMaxConcurrentGroupsStructuresToSynchronize

      public void setGroupMaxConcurrentGroupsStructuresToSynchronize(int groupMaxConcurrentGroupsStructuresToSynchronize)
    • getGroupNameSecondaryRegex

      public String getGroupNameSecondaryRegex()
    • setGroupNameSecondaryRegex

      public void setGroupNameSecondaryRegex(String groupNameSecondaryRegex)
    • getGroupStructureSynchronizationInterval

      public int getGroupStructureSynchronizationInterval()
    • setGroupStructureSynchronizationInterval

      public void setGroupStructureSynchronizationInterval(int groupSynchronizationInterval)
    • getGroupStructureSynchronizationTimeout

      public int getGroupStructureSynchronizationTimeout()
    • setGroupStructureSynchronizationTimeout

      public void setGroupStructureSynchronizationTimeout(int groupStructureSynchronizationTimeout)
    • getGroupSynchronizationInterval

      public int getGroupSynchronizationInterval()
    • setGroupSynchronizationInterval

      public void setGroupSynchronizationInterval(int groupSynchronizationInterval)
    • getGroupSynchronizationTimeout

      public int getGroupSynchronizationTimeout()
    • setGroupSynchronizationTimeout

      public void setGroupSynchronizationTimeout(int groupSynchronizationTimeout)
    • getIdpLoginValidity

      public int getIdpLoginValidity()
    • setIdpLoginValidity

      public void setIdpLoginValidity(int idpLoginValidity)
    • getIdpLoginValidityExceptions

      public List<String> getIdpLoginValidityExceptions()
    • setIdpLoginValidityExceptions

      public void setIdpLoginValidityExceptions(List<String> idpLoginValidityExceptions)
    • getInstanceId

      public String getInstanceId()
    • setInstanceId

      public void setInstanceId(String instanceId)
    • getInstanceName

      public String getInstanceName()
    • setInstanceName

      public void setInstanceName(String instanceName)
    • getIntrospectionEndpointMfaAcrValue

      public String getIntrospectionEndpointMfaAcrValue()
    • setIntrospectionEndpointMfaAcrValue

      public void setIntrospectionEndpointMfaAcrValue(String introspectionEndpointMfaAcrValue)
    • getLookupUserByIdentifiersAndExtSourceLogin

      public boolean getLookupUserByIdentifiersAndExtSourceLogin()
    • setLookupUserByIdentifiersAndExtSourceLogin

      public void setLookupUserByIdentifiersAndExtSourceLogin(boolean lookupUserByIdentifiersAndExtSourceLogin)
    • getMailchangeBackupFrom

      public String getMailchangeBackupFrom()
    • setMailchangeBackupFrom

      public void setMailchangeBackupFrom(String mailchangeBackupFrom)
    • getMailchangeReplyTo

      public String getMailchangeReplyTo()
    • setMailchangeReplyTo

      public void setMailchangeReplyTo(String mailchangeReplyTo)
    • getMailchangeSecretKey

      public String getMailchangeSecretKey()
    • setMailchangeSecretKey

      public void setMailchangeSecretKey(String mailchangeSecretKey)
    • getMailchangeValidationWindow

      public int getMailchangeValidationWindow()
    • setMailchangeValidationWindow

      public void setMailchangeValidationWindow(int mailchangeValidationWindow)
    • getMfaAuthTimeout

      public int getMfaAuthTimeout()
    • setMfaAuthTimeout

      public void setMfaAuthTimeout(int mfaAuthTimeout)
    • getMfaAuthTimeoutPercentageForceLogIn

      public int getMfaAuthTimeoutPercentageForceLogIn()
    • setMfaAuthTimeoutPercentageForceLogIn

      public void setMfaAuthTimeoutPercentageForceLogIn(int mfaAuthTimeoutPercentageForceLogIn)
    • getNativeLanguage

      public String getNativeLanguage()
    • setNativeLanguage

      public void setNativeLanguage(String nativeLanguage)
    • getNotifSendMessages

      public boolean getNotifSendMessages()
    • setNotifSendMessages

      public void setNotifSendMessages(boolean notifSendMessages)
    • getNotificationPrincipals

      public List<String> getNotificationPrincipals()
    • setNotificationPrincipals

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

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

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

      public String getPasswordManagerProgram()
    • setPasswordManagerProgram

      public void setPasswordManagerProgram(String passwordManagerProgram)
    • getPdfFontPath

      public String getPdfFontPath()
    • setPdfFontPath

      public void setPdfFontPath(String pdfFontPath)
    • getProxyIdPs

      public List<String> getProxyIdPs()
    • setProxyIdPs

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

      public String getPwdresetInitVector()
    • setPwdresetInitVector

      public void setPwdresetInitVector(String pwdresetInitVector)
    • getPwdresetSecretKey

      public String getPwdresetSecretKey()
    • setPwdresetSecretKey

      public void setPwdresetSecretKey(String pwdresetSecretKey)
    • getPwdresetValidationWindow

      public int getPwdresetValidationWindow()
    • setPwdresetValidationWindow

      public void setPwdresetValidationWindow(int pwdresetValidationWindow)
    • getQueryTimeout

      public int getQueryTimeout()
    • setQueryTimeout

      public void setQueryTimeout(int queryTimeout)
    • getRecaptchaPrivateKey

      public String getRecaptchaPrivateKey()
    • setRecaptchaPrivateKey

      public void setRecaptchaPrivateKey(String recaptchaPrivateKey)
    • getRegistrarPrincipals

      public List<String> getRegistrarPrincipals()
    • setRegistrarPrincipals

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

      public boolean getRequestUserInfoEndpoint()
    • setRequestUserInfoEndpoint

      public void setRequestUserInfoEndpoint(boolean requestUserInfoEndpoint)
    • getRoleUpdateInterval

      public int getRoleUpdateInterval()
    • setRoleUpdateInterval

      public void setRoleUpdateInterval(int roleUpdateInterval)
    • getRpcPowerusers

      public List<String> getRpcPowerusers()
    • setRpcPowerusers

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

      public String getRpcPrincipal()
    • setRpcPrincipal

      public void setRpcPrincipal(String rpcPrincipal)
    • getRtDefaultQueue

      public String getRtDefaultQueue()
    • setRtDefaultQueue

      public void setRtDefaultQueue(String rtDefaultQueue)
    • getRtSendToMail

      public String getRtSendToMail()
    • setRtSendToMail

      public void setRtSendToMail(String rtSendToMail)
    • 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)
    • getSmtpFrom

      public String getSmtpFrom()
    • setSmtpFrom

      public void setSmtpFrom(String smtpFrom)
    • getSmtpHost

      public String getSmtpHost()
    • setSmtpHost

      public void setSmtpHost(String smtpHost)
    • getSmtpPass

      public String getSmtpPass()
    • setSmtpPass

      public void setSmtpPass(String smtpPass)
    • getSmtpPort

      public int getSmtpPort()
    • setSmtpPort

      public void setSmtpPort(int smtpPort)
    • getSmtpUser

      public String getSmtpUser()
    • setSmtpUser

      public void setSmtpUser(String smtpUser)
    • getUserDeletionForced

      public boolean getUserDeletionForced()
    • setUserDeletionForced

      public void setUserDeletionForced(boolean userDeletionForced)
    • getUserExtSourcesPersistent

      public String getUserExtSourcesPersistent()
    • setUserExtSourcesPersistent

      public void setUserExtSourcesPersistent(String userExtSourcesPersistent)
    • getUserInfoEndpointExtSourceFriendlyName

      public List<String> getUserInfoEndpointExtSourceFriendlyName()
    • setUserInfoEndpointExtSourceFriendlyName

      public void setUserInfoEndpointExtSourceFriendlyName(List<String> userInfoEndpointExtSourceFriendlyName)
    • getUserInfoEndpointExtSourceLogin

      public List<String> getUserInfoEndpointExtSourceLogin()
    • setUserInfoEndpointExtSourceLogin

      public void setUserInfoEndpointExtSourceLogin(List<String> userInfoEndpointExtSourceLogin)
    • getUserInfoEndpointExtSourceName

      public String getUserInfoEndpointExtSourceName()
    • setUserInfoEndpointExtSourceName

      public void setUserInfoEndpointExtSourceName(String userInfoEndpointExtSourceName)
    • initBeansUtils

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

      public void setDbInitializatorEnabled(boolean dbInitializatorEnabled)
    • isEnforceMfa

      public boolean isEnforceMfa()
    • setEnforceMfa

      public void setEnforceMfa(boolean enforceMfa)
    • isFindSimilarUsersDisabled

      public boolean isFindSimilarUsersDisabled()
    • setFindSimilarUsersDisabled

      public void setFindSimilarUsersDisabled(boolean findSimilarUsersDisabled)
    • isMailDebug

      public boolean isMailDebug()
    • setMailDebug

      public void setMailDebug(boolean mailDebug)
    • setReadOnlyPerun

      public void setReadOnlyPerun(boolean readOnlyPerun)
    • isSendIdentityAlerts

      public boolean isSendIdentityAlerts()
    • setSendIdentityAlerts

      public void setSendIdentityAlerts(boolean sendIdentityAlerts)
    • isSmtpAuth

      public boolean isSmtpAuth()
    • setSmtpAuth

      public void setSmtpAuth(boolean smtpAuth)
    • isSmtpStartTls

      public boolean isSmtpStartTls()
    • setSmtpStartTls

      public void setSmtpStartTls(boolean smtpStartTls)
    • setAttributesForUpdateIdP

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

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

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

      public void setProperties(Properties properties)
    • getAuditlogReadLimit

      public int getAuditlogReadLimit()
    • setAuditlogReadLimit

      public void setAuditlogReadLimit(int auditlogReadLimit)
    • getEnableLinkedName

      public boolean getEnableLinkedName()
    • setEnableLinkedName

      public void setEnableLinkedName(boolean enableLinkedName)
    • getEnableCustomName

      public boolean getEnableCustomName()
    • setEnableCustomName

      public void setEnableCustomName(boolean enableCustomName)
    • getCustomNameRequiresApprove

      public boolean getCustomNameRequiresApprove()
    • setCustomNameRequiresApprove

      public void setCustomNameRequiresApprove(boolean customNameRequiresApprove)
    • getEnableLinkedOrganization

      public boolean getEnableLinkedOrganization()
    • setEnableLinkedOrganization

      public void setEnableLinkedOrganization(boolean enableLinkedOrganization)
    • getEnableCustomOrganization

      public boolean getEnableCustomOrganization()
    • setEnableCustomOrganization

      public void setEnableCustomOrganization(boolean enableCustomOrganization)
    • getCustomOrganizationRequiresApprove

      public boolean getCustomOrganizationRequiresApprove()
    • setCustomOrganizationRequiresApprove

      public void setCustomOrganizationRequiresApprove(boolean customOrganizationRequiresApprove)
    • getEnableLinkedEmail

      public boolean getEnableLinkedEmail()
    • setEnableLinkedEmail

      public void setEnableLinkedEmail(boolean enableLinkedEmail)
    • getEnableCustomEmail

      public boolean getEnableCustomEmail()
    • setEnableCustomEmail

      public void setEnableCustomEmail(boolean enableCustomEmail)
    • getCustomEmailRequiresVerification

      public boolean getCustomEmailRequiresVerification()
    • setCustomEmailRequiresVerification

      public void setCustomEmailRequiresVerification(boolean customEmailRequiresVerification)