mirror of
https://gitee.com/jmix/cuba.git
synced 2024-12-02 19:27:57 +08:00
Config property moved from server to global
This commit is contained in:
parent
84efde77fe
commit
63ca7dc4b6
@ -10,6 +10,7 @@ import com.haulmont.cuba.core.config.Config;
|
||||
import com.haulmont.cuba.core.config.Property;
|
||||
import com.haulmont.cuba.core.config.Source;
|
||||
import com.haulmont.cuba.core.config.SourceType;
|
||||
import com.haulmont.cuba.core.config.defaults.DefaultInt;
|
||||
import com.haulmont.cuba.core.config.type.Factory;
|
||||
import com.haulmont.cuba.core.config.defaults.DefaultBoolean;
|
||||
import com.haulmont.cuba.core.config.defaults.DefaultString;
|
||||
@ -71,4 +72,12 @@ public interface GlobalConfig extends Config {
|
||||
@Property("cuba.groovyClassLoaderEnabled")
|
||||
@DefaultBoolean(true)
|
||||
boolean isGroovyClassLoaderEnabled();
|
||||
|
||||
/**
|
||||
* User session expiration timeout in seconds.
|
||||
* Not the same as HTTP session timeout, but should have the same value.
|
||||
*/
|
||||
@Property("cuba.userSessionExpirationTimeoutSec")
|
||||
@DefaultInt(1800)
|
||||
int getUserSessionExpirationTimeoutSec();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user