public interface DataObjectAuthorizer
Modifier and Type | Method and Description |
---|---|
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
|
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
- Copyright © 2005–2014 The Kuali Foundation. All rights reserved.