Package cz.metacentrum.perun.core.api
Class CoreConfig
java.lang.Object
cz.metacentrum.perun.core.api.CoreConfig
Core configuration values. Bean initialized by Spring.
- Author:
- Martin Kuba makub@ics.muni.cz
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
Attributes to be saved when new PerunSession is created.int
Get all logins blocked by default (used by internal components).boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
int
int
int
int
int
int
int
boolean
int
int
int
boolean
int
int
boolean
int
getRtUrl()
int
boolean
void
Stores this bean into static BeansUtils for backward compatibility.boolean
boolean
boolean
boolean
boolean
boolean
boolean
void
setAccountActivationValidationWindow
(int accountActivationValidationWindow) void
void
setAllowedCorsDomains
(List<String> allowedCorsDomains) void
setAlternativePasswordManagerProgram
(String alternativePasswordManagerProgram) void
setAppAllowedRoles
(List<String> apps) void
setArchiveSpool
(boolean archiveSpool) void
setAttributesForUpdateIdP
(List<String> attrNames) void
setAttributesForUpdateX509
(List<String> attrNames) void
setAttributesToAnonymize
(List<String> attributesToAnonymize) void
setAttributesToKeep
(List<String> attributesToKeep) void
setAttributesToSearchUsersAndMembersBy
(List<String> attributesToSearchUsersAndMembersBy) void
setAuditlogReadLimit
(int auditlogReadLimit) void
setAutocreatedNamespaces
(List<String> autocreatedNamespaces) void
setCustomEmailRequiresVerification
(boolean customEmailRequiresVerification) void
setCustomNameRequiresApprove
(boolean customNameRequiresApprove) void
setCustomOrganizationRequiresApprove
(boolean customOrganizationRequiresApprove) void
setDbInitializatorEnabled
(boolean dbInitializatorEnabled) void
setDefaultLoaIdP
(String defaultLoaIdP) void
setDontLookupUsers
(Set<String> dontLookupUsers) void
setEnableCustomEmail
(boolean enableCustomEmail) void
setEnableCustomName
(boolean enableCustomName) void
setEnableCustomOrganization
(boolean enableCustomOrganization) void
setEnableLinkedEmail
(boolean enableLinkedEmail) void
setEnableLinkedName
(boolean enableLinkedName) void
setEnableLinkedOrganization
(boolean enableLinkedOrganization) void
setEnforceMfa
(boolean enforceMfa) void
setEnginePrincipals
(List<String> enginePrincipals) void
setExternalProgramsDependencies
(List<String> externalProgramsDependencies) void
setExtSourcesMultipleIdentifiers
(Set<String> extSourcesMultipleIdentifiers) void
setFindSimilarUsersDisabled
(boolean findSimilarUsersDisabled) void
setForceConsents
(boolean forceConsents) void
setForceHtmlSanitization
(boolean forceHtmlSanitization) void
setGeneratedLoginNamespaces
(List<String> generatedLoginNamespaces) void
setGroupFullNameSecondaryRegex
(String groupFullNameSecondaryRegex) void
setGroupMaxConcurentGroupsToSynchronize
(int groupMaxConcurentGroupsToSynchronize) void
setGroupMaxConcurrentGroupsStructuresToSynchronize
(int groupMaxConcurrentGroupsStructuresToSynchronize) void
setGroupNameSecondaryRegex
(String groupNameSecondaryRegex) void
setGroupStructureSynchronizationInterval
(int groupSynchronizationInterval) void
setGroupStructureSynchronizationTimeout
(int groupStructureSynchronizationTimeout) void
setGroupSynchronizationInterval
(int groupSynchronizationInterval) void
setGroupSynchronizationTimeout
(int groupSynchronizationTimeout) void
setIdpLoginValidity
(int idpLoginValidity) void
setIdpLoginValidityExceptions
(List<String> idpLoginValidityExceptions) void
setInstanceId
(String instanceId) void
setInstanceName
(String instanceName) void
setIntrospectionEndpointMfaAcrValue
(String introspectionEndpointMfaAcrValue) void
setLookupUserByIdentifiersAndExtSourceLogin
(boolean lookupUserByIdentifiersAndExtSourceLogin) void
setMailchangeBackupFrom
(String mailchangeBackupFrom) void
setMailchangeReplyTo
(String mailchangeReplyTo) void
setMailchangeSecretKey
(String mailchangeSecretKey) void
setMailchangeValidationWindow
(int mailchangeValidationWindow) void
setMailDebug
(boolean mailDebug) void
setMfaAuthTimeout
(int mfaAuthTimeout) void
setMfaAuthTimeoutPercentageForceLogIn
(int mfaAuthTimeoutPercentageForceLogIn) void
setNativeLanguage
(String nativeLanguage) void
setNotificationPrincipals
(List<String> notificationPrincipals) void
setNotifSendMessages
(boolean notifSendMessages) void
setOidcIssuers
(List<String> oidcIssuers) void
setPasswordManagerProgram
(String passwordManagerProgram) void
setPdfFontPath
(String pdfFontPath) void
setProperties
(Properties properties) void
setProxyIdPs
(List<String> proxyIdPs) void
setPwdresetInitVector
(String pwdresetInitVector) void
setPwdresetSecretKey
(String pwdresetSecretKey) void
setPwdresetValidationWindow
(int pwdresetValidationWindow) void
setQueryTimeout
(int queryTimeout) void
setReadOnlyPerun
(boolean readOnlyPerun) void
setRecaptchaPrivateKey
(String recaptchaPrivateKey) void
setRegistrarPrincipals
(List<String> registrarPrincipals) void
setRequestUserInfoEndpoint
(boolean requestUserInfoEndpoint) void
setRoleUpdateInterval
(int roleUpdateInterval) void
setRpcPowerusers
(List<String> rpcPowerusers) void
setRpcPrincipal
(String rpcPrincipal) void
setRtDefaultQueue
(String rtDefaultQueue) void
setRtSendToMail
(String rtSendToMail) void
setRtServiceuserPassword
(String rtServiceuserPassword) void
setRtServiceuserUsername
(String rtServiceuserUsername) void
void
setSendIdentityAlerts
(boolean sendIdentityAlerts) void
setSmsProgram
(String smsProgram) void
setSmtpAuth
(boolean smtpAuth) void
setSmtpFrom
(String smtpFrom) void
setSmtpHost
(String smtpHost) void
setSmtpPass
(String smtpPass) void
setSmtpPort
(int smtpPort) void
setSmtpStartTls
(boolean smtpStartTls) void
setSmtpUser
(String smtpUser) void
setUserDeletionForced
(boolean userDeletionForced) void
setUserExtSourcesPersistent
(String userExtSourcesPersistent) void
setUserInfoEndpointExtSourceFriendlyName
(List<String> userInfoEndpointExtSourceFriendlyName) void
setUserInfoEndpointExtSourceLogin
(List<String> userInfoEndpointExtSourceLogin) void
setUserInfoEndpointExtSourceName
(String userInfoEndpointExtSourceName)
-
Constructor Details
-
CoreConfig
public CoreConfig()
-
-
Method Details
-
getAccountActivationValidationWindow
public int getAccountActivationValidationWindow() -
setAccountActivationValidationWindow
public void setAccountActivationValidationWindow(int accountActivationValidationWindow) -
getAdmins
-
setAdmins
-
getAllowedCorsDomains
-
setAllowedCorsDomains
-
getAlternativePasswordManagerProgram
-
setAlternativePasswordManagerProgram
-
getAppAllowedRoles
-
setAppAllowedRoles
-
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
-
setAttributesToAnonymize
-
getAttributesToKeep
-
setAttributesToKeep
-
getAttributesToSearchUsersAndMembersBy
-
setAttributesToSearchUsersAndMembersBy
-
getAutocreatedNamespaces
-
setAutocreatedNamespaces
-
getBlockedLogins
Get all logins blocked by default (used by internal components).- Returns:
- set of logins used by instance
-
getDefaultLoaIdP
-
setDefaultLoaIdP
-
getDontLookupUsers
-
setDontLookupUsers
-
getEnginePrincipals
-
setEnginePrincipals
-
getExtSourcesMultipleIdentifiers
-
setExtSourcesMultipleIdentifiers
-
getExternalProgramsDependencies
-
setExternalProgramsDependencies
-
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
-
setGeneratedLoginNamespaces
-
getGroupFullNameSecondaryRegex
-
setGroupFullNameSecondaryRegex
-
getGroupMaxConcurentGroupsToSynchronize
public int getGroupMaxConcurentGroupsToSynchronize() -
setGroupMaxConcurentGroupsToSynchronize
public void setGroupMaxConcurentGroupsToSynchronize(int groupMaxConcurentGroupsToSynchronize) -
getGroupMaxConcurrentGroupsStructuresToSynchronize
public int getGroupMaxConcurrentGroupsStructuresToSynchronize() -
setGroupMaxConcurrentGroupsStructuresToSynchronize
public void setGroupMaxConcurrentGroupsStructuresToSynchronize(int groupMaxConcurrentGroupsStructuresToSynchronize) -
getGroupNameSecondaryRegex
-
setGroupNameSecondaryRegex
-
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
-
setIdpLoginValidityExceptions
-
getInstanceId
-
setInstanceId
-
getInstanceName
-
setInstanceName
-
getIntrospectionEndpointMfaAcrValue
-
setIntrospectionEndpointMfaAcrValue
-
getLookupUserByIdentifiersAndExtSourceLogin
public boolean getLookupUserByIdentifiersAndExtSourceLogin() -
setLookupUserByIdentifiersAndExtSourceLogin
public void setLookupUserByIdentifiersAndExtSourceLogin(boolean lookupUserByIdentifiersAndExtSourceLogin) -
getMailchangeBackupFrom
-
setMailchangeBackupFrom
-
getMailchangeReplyTo
-
setMailchangeReplyTo
-
getMailchangeSecretKey
-
setMailchangeSecretKey
-
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
-
setNativeLanguage
-
getNotifSendMessages
public boolean getNotifSendMessages() -
setNotifSendMessages
public void setNotifSendMessages(boolean notifSendMessages) -
getNotificationPrincipals
-
setNotificationPrincipals
-
getOidcIssuersExtsourceNames
-
getOidcIssuersExtsourceTypes
-
getPasswordManagerProgram
-
setPasswordManagerProgram
-
getPdfFontPath
-
setPdfFontPath
-
getProxyIdPs
-
setProxyIdPs
-
getPwdresetInitVector
-
setPwdresetInitVector
-
getPwdresetSecretKey
-
setPwdresetSecretKey
-
getPwdresetValidationWindow
public int getPwdresetValidationWindow() -
setPwdresetValidationWindow
public void setPwdresetValidationWindow(int pwdresetValidationWindow) -
getQueryTimeout
public int getQueryTimeout() -
setQueryTimeout
public void setQueryTimeout(int queryTimeout) -
getRecaptchaPrivateKey
-
setRecaptchaPrivateKey
-
getRegistrarPrincipals
-
setRegistrarPrincipals
-
getRequestUserInfoEndpoint
public boolean getRequestUserInfoEndpoint() -
setRequestUserInfoEndpoint
public void setRequestUserInfoEndpoint(boolean requestUserInfoEndpoint) -
getRoleUpdateInterval
public int getRoleUpdateInterval() -
setRoleUpdateInterval
public void setRoleUpdateInterval(int roleUpdateInterval) -
getRpcPowerusers
-
setRpcPowerusers
-
getRpcPrincipal
-
setRpcPrincipal
-
getRtDefaultQueue
-
setRtDefaultQueue
-
getRtSendToMail
-
setRtSendToMail
-
getRtServiceuserPassword
-
setRtServiceuserPassword
-
getRtServiceuserUsername
-
setRtServiceuserUsername
-
getRtUrl
-
setRtUrl
-
getSmsProgram
-
setSmsProgram
-
getSmtpFrom
-
setSmtpFrom
-
getSmtpHost
-
setSmtpHost
-
getSmtpPass
-
setSmtpPass
-
getSmtpPort
public int getSmtpPort() -
setSmtpPort
public void setSmtpPort(int smtpPort) -
getSmtpUser
-
setSmtpUser
-
getUserDeletionForced
public boolean getUserDeletionForced() -
setUserDeletionForced
public void setUserDeletionForced(boolean userDeletionForced) -
getUserExtSourcesPersistent
-
setUserExtSourcesPersistent
-
getUserInfoEndpointExtSourceFriendlyName
-
setUserInfoEndpointExtSourceFriendlyName
-
getUserInfoEndpointExtSourceLogin
-
setUserInfoEndpointExtSourceLogin
-
getUserInfoEndpointExtSourceName
-
setUserInfoEndpointExtSourceName
-
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
-
setAttributesForUpdateX509
-
setOidcIssuers
-
setProperties
-
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)
-