public class OSecurityServerExternal extends OSecurityExternal
ALLOW_ALL_FIELD, ALLOW_DELETE_FIELD, ALLOW_FIELDS, ALLOW_READ_FIELD, ALLOW_UPDATE_FIELD, filteredProperties, IDENTITY_CLASSNAME, ONCREATE_FIELD, ONCREATE_IDENTITY_TYPE, RESTRICTED_CLASSNAME, roleHasPredicateSecurityForClass, securityPredicateCache, skipRoleHasPredicateSecurityForClassUpdate
Constructor and Description |
---|
OSecurityServerExternal(OServer server) |
Modifier and Type | Method and Description |
---|---|
void |
addSecurityPolicy(OSecurityRole role,
String resource,
OSecurityPolicy policy) |
ORole |
createRole(OServerUserConfiguration serverUser) |
void |
createSecurityPolicyWithBitmask(OSecurityRole role,
String resource,
int legacyPolicy) |
OUser |
getUser(ODatabaseSession session,
String username) |
authenticate
allowIdentity, allowRole, allowUser, authenticate, calculateAllFilteredProperties, calculateBefore, canCreate, canDelete, canExecute, canRead, canUpdate, close, couldHaveActivePredicateSecurityRoles, create, createClassTrigger, createMetadata, createRole, createRole, createSecurityPolicy, createUser, createUser, deleteSecurityPolicy, denyRole, denyUser, disallowIdentity, dropRole, dropUser, getAllFilteredProperties, getAllRoles, getAllUsers, getFilteredProperties, getPredicateFromCache, getRole, getRole, getRoleRID, getSecurityPolicies, getSecurityPolicy, getSecurityPolicy, getUser, getUserRID, getVersion, incrementVersion, initPredicateSecurityOptimizations, isAllowed, isAllowedWrite, isReadRestrictedBySecurityPolicy, load, putPredicateInCache, removeSecurityPolicy, saveSecurityPolicy, setSecurityPolicy, setSecurityPolicyWithBitmask, unboxRidbags, updateAllFilteredProperties, updateAllFilteredPropertiesInternal
public OSecurityServerExternal(OServer server)
public OUser getUser(ODatabaseSession session, String username)
getUser
in interface OSecurityInternal
getUser
in class OSecurityExternal
public ORole createRole(OServerUserConfiguration serverUser)
public void createSecurityPolicyWithBitmask(OSecurityRole role, String resource, int legacyPolicy)
public void addSecurityPolicy(OSecurityRole role, String resource, OSecurityPolicy policy)
Copyright © 2009–2020 OrientDB. All rights reserved.