public interface Manageable
setAdmin(org.apache.directory.fortress.core.model.Session)
method allows A/RBAC sessions to be loaded and
allows authorization to be performed on behalf of the user who is contained within the Session object itself.
The ARBAC permissions will be checked each time outside client makes calls into Fortress API.
This interface also allows Fortress clients to operate in a multi-tenant fashion using setContextId(String)
.Modifier and Type | Method and Description |
---|---|
void |
setAdmin(Session session)
Use this method to load an administrative user's ARBAC Session object into Manager object which will enable
authorization to be performed on behalf of admin user.
|
void |
setContextId(String contextId)
Use this method to set the tenant id onto function call into Fortress which allows segregation of data by customer.
|
void setAdmin(Session session)
session
- contains a valid Fortress ARBAC Session object.void setContextId(String contextId)
contextId
- maps to sub-tree in DIT, for example ou=contextId, dc=jts, dc = com.Copyright © 2003-2016, The Apache Software Foundation. All Rights Reserved. Generated 20160718-1621