Config property moved from server to global

This commit is contained in:
Konstantin Krivopustov 2009-12-22 15:23:00 +00:00
parent 84efde77fe
commit 63ca7dc4b6

View File

@ -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();
}