Class SpringResourceProperties
- All Implemented Interfaces:
Serializable
,CasFeatureModule
- Direct Known Subclasses:
GroovyAcceptableUsagePolicyProperties
,GroovyAccountManagementRegistrationProvisioningProperties
,GroovyAdaptiveAuthenticationIPIntelligenceProperties
,GroovyAuthenticationEngineProcessorProperties
,GroovyAuthenticationExceptionsProperties
,GroovyAuthenticationHandlerResolutionProperties
,GroovyAuthenticationProperties
,GroovyConsentProperties
,GroovyInterruptProperties
,GroovyMultifactorAuthenticationProviderBypassProperties
,GroovyPasswordManagementProperties
,GroovyPasswordPolicyProperties
,GroovyPrincipalAttributesProperties
,GroovyPrincipalTransformationProperties
,GroovySmsProperties
,GroovyWebflowLoginDecoratorProperties
,GroovyWebflowProperties
,GroovyWsFederationDelegationProperties
,JsonConsentProperties
,JsonGoogleAuthenticatorMultifactorProperties
,JsonInterruptProperties
,JsonPasswordManagementProperties
,JsonPrincipalAttributesProperties
,JsonQRAuthenticationProperties
,JsonResourceAuthenticationProperties
,JsonServiceRegistryProperties
,JsonTrustedDevicesMultifactorProperties
,OidcWebFingerProperties.Groovy
,Pac4jDelegatedAuthenticationDiscoverySelectionJsonProperties
,Pac4jDelegatedAuthenticationGroovyProvisioningProperties
,PasswordlessAuthenticationGroovyAccountsProperties
,PasswordlessAuthenticationJsonAccountsProperties
,SurrogateGroovyAuthenticationProperties
,SurrogateJsonAuthenticationProperties
,WebAuthnJsonMultifactorProperties
,YamlServiceRegistryProperties
SpringResourceProperties
.- Since:
- 5.2.0
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apereo.cas.configuration.features.CasFeatureModule
CasFeatureModule.FeatureCatalog
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.core.io.Resource
The location of the resource.setLocation
(org.springframework.core.io.Resource location) The location of the resource.toString()
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.apereo.cas.configuration.features.CasFeatureModule
isDefined, isUndefined
-
Constructor Details
-
SpringResourceProperties
public SpringResourceProperties()
-
-
Method Details
-
getLocation
public org.springframework.core.io.Resource getLocation()The location of the resource. Resources can be URLs, or files found either on the classpath or outside somewhere in the file system.In the event the configured resource is a Groovy script, specially if the script set to reload on changes, you may need to adjust the total number of
inotify
instances. On Linux, you may need to add the following line to/etc/sysctl.conf
:fs.inotify.max_user_instances = 256
.You can check the current value via
cat /proc/sys/fs/inotify/max_user_instances
.In situations and scenarios where CAS is able to automatically watch the underlying resource for changes and detect updates and modifications dynamically, you may be able to specify the following setting as either an environment variable or system property with a value of
false
to disable the resource watcher:org.apereo.cas.util.io.PathWatcherService
. -
setLocation
The location of the resource. Resources can be URLs, or files found either on the classpath or outside somewhere in the file system.In the event the configured resource is a Groovy script, specially if the script set to reload on changes, you may need to adjust the total number of
inotify
instances. On Linux, you may need to add the following line to/etc/sysctl.conf
:fs.inotify.max_user_instances = 256
.You can check the current value via
cat /proc/sys/fs/inotify/max_user_instances
.In situations and scenarios where CAS is able to automatically watch the underlying resource for changes and detect updates and modifications dynamically, you may be able to specify the following setting as either an environment variable or system property with a value of
false
to disable the resource watcher:org.apereo.cas.util.io.PathWatcherService
.- Returns:
this
.
-
toString
-