public static interface AdvancedAuthorizationProvider.Context
Modifier and Type | Method and Description |
---|---|
ExecutionContext |
getExecutionContext()
Get the execution context in which this session is running.
|
String |
getRepositoryName()
Get the name of the repository that is being accessed.
|
Session |
getSession()
Get the session that is requesting this authorization provider to
determine permissions . |
String |
getWorkspaceName()
Get the name of the repository workspace that is being accessed.
|
ExecutionContext getExecutionContext()
Session getSession()
determine permissions
. Provider
implementations are free to use the session to access nodes other than those for which permissions are being
determined. For example, the implementation may access other authorization-related content inside the same
repository. Just be aware that such accesses will generate additional calls to the
AdvancedAuthorizationProvider.hasPermission(Context, Path, String...)
method.String getRepositoryName()
String getWorkspaceName()
Copyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.