public interface PermissionServiceScriptContext extends ScriptContext
permission service
.
It provides methods to access and modify the group
and users
definitions.BaseContext.Env
Modifier and Type | Method and Description |
---|---|
DirContext |
getLdapContext()
Returns the dir context specified in the belonging section in the service.ini of the permission service
or
null if no ldap.URL is specified in the service.ini. |
GroupRoot |
getRoot()
Returns the group root model representing the belonging groups.xml file specified
by the param "DOCUMENT_NAME.path" in service.ini.
|
Users |
getUsers()
Returns the users model representing the belonging users.xml file specified
by the param "DOCUMENT_NAME.users" in service.ini or
null if no users xml
file is specified. |
getConnection, getProperties, getProperty, logDebug, logError, logError, logInfo, logWarning, removeProperty, setProperty
is
requestSpecialist, requireSpecialist
GroupRoot getRoot()
@Nullable Users getUsers()
null
if no users xml
file is specified.null
if no users xml is specified in service.ini@Nullable DirContext getLdapContext() throws IOException
null
if no ldap.URL is specified in the service.ini.null
if ldap.URL is missing in belonging section of service.iniIOException
Copyright © 2014 e-Spirit AG. All Rights Reserved. Build 5.0_BETA.500