Package org.kuali.rice.krad.kim
Class PopulateGroupPermissionTypeServiceImpl
java.lang.Object
org.kuali.rice.kns.kim.type.DataDictionaryTypeServiceBase
org.kuali.rice.kns.kim.permission.PermissionTypeServiceBase
org.kuali.rice.krad.kim.NamespacePermissionTypeServiceImpl
org.kuali.rice.krad.kim.NamespaceWildcardAllowedAndOrStringExactMatchPermissionTypeServiceImpl
org.kuali.rice.krad.kim.PopulateGroupPermissionTypeServiceImpl
- All Implemented Interfaces:
org.kuali.rice.kim.framework.permission.PermissionTypeService,org.kuali.rice.kim.framework.type.KimTypeService
public class PopulateGroupPermissionTypeServiceImpl
extends NamespaceWildcardAllowedAndOrStringExactMatchPermissionTypeServiceImpl
- Author:
- Kuali Rice Team (rice.collab@kuali.org) The order of precedence for this permission type service is as follows: 1 - Group Name 2 - Kim Type Name 3 - Group Namespace If there is a permission that is an exact match for any of these, less granular permissions will not be considered. For example, if there is a populate group permission for KFS-VND groups, a populate group permission for KFS* groups will not be considered. Likewise, if there is a populate group permission for the group ContractManagers (which has group namespace of KFS-VND), both the populate group permisson for KFS-VND and KFS* will NOT be considered. ALSO NOTE - At a minimum, a group namespace attribute must be specifed on any populate group permission, even if it is only a partial namespace.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.kuali.rice.kns.kim.type.DataDictionaryTypeServiceBase
DataDictionaryTypeServiceBase.KimTypeAttributeException, DataDictionaryTypeServiceBase.KimTypeAttributeValidationException -
Field Summary
Fields inherited from class org.kuali.rice.krad.kim.NamespaceWildcardAllowedAndOrStringExactMatchPermissionTypeServiceImpl
exactMatchStringAttributeName, NAMESPACE_CODE, namespaceRequiredOnStoredMapFields inherited from class org.kuali.rice.kns.kim.type.DataDictionaryTypeServiceBase
COMMA_SEPARATOR -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.kuali.rice.krad.kim.NamespaceWildcardAllowedAndOrStringExactMatchPermissionTypeServiceImpl
getCriteriaLookupService, getRequiredAttributes, setCriteriaLookupService, setExactMatchStringAttributeName, setNamespaceRequiredOnStoredMap, validateReferencesExistAndActiveMethods inherited from class org.kuali.rice.krad.kim.NamespacePermissionTypeServiceImpl
getExactMatchPriority, setExactMatchPriorityMethods inherited from class org.kuali.rice.kns.kim.permission.PermissionTypeServiceBase
doesPropertyNameMatch, getMatchingPermissionsMethods inherited from class org.kuali.rice.kns.kim.type.DataDictionaryTypeServiceBase
areAttributesEqual, extractErrorsFromGlobalVariablesErrorMap, getAttributeDefinitions, getAttributeFormatter, getAttributeMaxValue, getAttributeMinValue, getAttributeValidatingExpression, getAttributeValue, getBusinessObjectService, getClosestParentDocumentTypeName, getDataDictionaryAttributeDefinition, getDataDictionaryService, getDictionaryValidationService, getDocumentTypeService, getNonDataDictionaryAttributeDefinition, getTypeInfoService, getUniqueAttributes, getWorkflowDocumentTypeName, getWorkflowRoutingAttributes, isCheckRequiredAttributes, performMatch, translateInputAttributes, validateAttributeFormat, validateAttributeRequired, validateAttributes, validateAttributesAgainstExisting, validateDataDictionaryAttribute, validateDataDictionaryAttribute, validateNonDataDictionaryAttribute, validatePrimitiveFromDescriptor, validateRequiredAttributesAgainstReceived, validateUniqueAttributes, validateUnmodifiableAttributesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.kuali.rice.kim.framework.type.KimTypeService
getAttributeDefinitions, getWorkflowDocumentTypeName, getWorkflowRoutingAttributes, validateAttributes, validateAttributesAgainstExisting, validateUniqueAttributes, validateUnmodifiableAttributes
-
Constructor Details
-
PopulateGroupPermissionTypeServiceImpl
public PopulateGroupPermissionTypeServiceImpl()
-
-
Method Details
-
performPermissionMatches
protected List<org.kuali.rice.kim.api.permission.Permission> performPermissionMatches(Map<String, String> requestedDetails, List<org.kuali.rice.kim.api.permission.Permission> permissionsList) Description copied from class:NamespacePermissionTypeServiceImplCheck for entries that match the namespace. By default, this method will return all exact matches if any exist, and it will only return partial matches if there are no exact matches. i.e. KR-NS will have priority over KR-* If ExactMatchPriority is false, then this method will return all exact AND partial matching permissions. By default, ExactMatchPriority will be set to true.
-