|
ModeShape Distribution 3.5.0.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface AdvancedAuthorizationProvider.Context
The context in which the calling session is operating, and which contains session-related information that a provider implementation may find useful.
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
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()
|
ModeShape Distribution 3.5.0.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||