|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DataObjectAuthorizer
Invoked to authorize actions requested on data objects (such as edit or view)
Method Summary | |
---|---|
boolean |
isAuthorized(Object dataObject,
String namespaceCode,
String permissionName,
String principalId)
Determines whether the user identified by the given principal ID has the given permission in the context of the data object |
boolean |
isAuthorized(Object dataObject,
String namespaceCode,
String permissionName,
String principalId,
Map<String,String> additionalPermissionDetails,
Map<String,String> additionalRoleQualifiers)
Determines whether the user identified by the given principal ID has the given permission in the context of the data object, the additional permission details and role qualifiers are used for the check |
boolean |
isAuthorizedByTemplate(Object dataObject,
String namespaceCode,
String permissionTemplateName,
String principalId)
Determines whether the user identified by the given principal ID has been granted a permission of the given template in the context of the data object |
boolean |
isAuthorizedByTemplate(Object dataObject,
String namespaceCode,
String permissionTemplateName,
String principalId,
Map<String,String> additionalPermissionDetails,
Map<String,String> additionalRoleQualifiers)
Determines whether the user identified by the given principal ID has been granted a permission of the given template in the context of the data object, the additional permission details and role qualifiers are used for the check |
Method Detail |
---|
boolean isAuthorized(Object dataObject, String namespaceCode, String permissionName, String principalId)
dataObject
- namespaceCode
- permissionName
- principalId
-
boolean isAuthorizedByTemplate(Object dataObject, String namespaceCode, String permissionTemplateName, String principalId)
dataObject
- namespaceCode
- permissionTemplateName
- principalId
-
boolean isAuthorized(Object dataObject, String namespaceCode, String permissionName, String principalId, Map<String,String> additionalPermissionDetails, Map<String,String> additionalRoleQualifiers)
dataObject
- namespaceCode
- permissionName
- principalId
- additionalPermissionDetails
- additionalRoleQualifiers
-
boolean isAuthorizedByTemplate(Object dataObject, String namespaceCode, String permissionTemplateName, String principalId, Map<String,String> additionalPermissionDetails, Map<String,String> additionalRoleQualifiers)
dataObject
- namespaceCode
- permissionTemplateName
- principalId
- additionalPermissionDetails
- additionalRoleQualifiers
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |