Interface Manageable
-
- All Known Subinterfaces:
AccelMgr
,AccessMgr
,AdminMgr
,AuditMgr
,DelAccessMgr
,DelAdminMgr
,DelReviewMgr
,GroupMgr
,PropertyMgr
,PwPolicyMgr
,ReviewMgr
- All Known Implementing Classes:
AccelMgrImpl
,AccessMgrImpl
,AccessMgrRestImpl
,AdminMgrImpl
,AdminMgrRestImpl
,AuditMgrImpl
,AuditMgrRestImpl
,ConfigMgrImpl
,DelAccessMgrImpl
,DelAccessMgrRestImpl
,DelAdminMgrImpl
,DelAdminMgrRestImpl
,DelReviewMgrImpl
,DelReviewMgrRestImpl
,GroupMgrImpl
,GroupMgrRestImpl
,Manageable
,PropertyMgrImpl
,PropertyMgrRestImpl
,PwPolicyMgrImpl
,PwPolicyMgrRestImpl
,ReviewMgrImpl
,ReviewMgrRestImpl
public interface Manageable
Interface allows outside clients to manage security and multi-tenant concerns within the Fortress runtime. ThesetAdmin(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 usingsetContextId(String)
.- Author:
- Apache Directory Project
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
setAdmin
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. Setting Session into this object will enforce ARBAC controls and render this class' implementer thread unsafe.- Parameters:
session
- contains a valid Fortress ARBAC Session object.
-
setContextId
void setContextId(String contextId)
Use this method to set the tenant id onto function call into Fortress which allows segregation of data by customer. The contextId is used for multi-tenancy to isolate data sets within a particular sub-tree within DIT. Setting contextId into this object will render this class' implementer thread unsafe.- Parameters:
contextId
- maps to sub-tree in DIT, e.g. ou=contextId, dc=example, dc=com.
-
-