public class SystemLoginRestrictionManager extends Object
The main point is to prevent system login from untrusted remote nuxeo runtime instances.
Restrictions can be adjusted via system properties :
Modifier and Type | Field and Description |
---|---|
protected List<String> |
allowedInstancesForSystemLogin |
protected static org.apache.commons.logging.Log |
log |
static String |
REMOTE_SYSTEM_LOGIN_TRUSTED_INSTANCES_PROP |
static String |
RESTRICT_REMOTE_SYSTEM_LOGIN_PROP |
protected Boolean |
restrictRemoteSystemLogin |
static String |
TRUSTED_INSTANCES_SEP |
Constructor and Description |
---|
SystemLoginRestrictionManager() |
Modifier and Type | Method and Description |
---|---|
List<String> |
getAllowedInstanceForSystemLogin() |
boolean |
isRemoteSystemLoginRestricted() |
boolean |
isRemoveSystemLoginAllowedForInstance(String instanceId) |
public static final String RESTRICT_REMOTE_SYSTEM_LOGIN_PROP
public static final String REMOTE_SYSTEM_LOGIN_TRUSTED_INSTANCES_PROP
public static final String TRUSTED_INSTANCES_SEP
protected static final org.apache.commons.logging.Log log
protected Boolean restrictRemoteSystemLogin
protected List<String> allowedInstancesForSystemLogin
public SystemLoginRestrictionManager()
public boolean isRemoteSystemLoginRestricted()
public List<String> getAllowedInstanceForSystemLogin()
public boolean isRemoveSystemLoginAllowedForInstance(String instanceId)
Copyright © 2015 Nuxeo SA. All rights reserved.