Interface SelfEntityIDResolver
- All Known Implementing Classes:
ChainingSelfEntityIDResolver,CriteriaSelfEntityIDResolver
public interface SelfEntityIDResolver
Interface for a component which resolves the self entityID to use when executing
an attribute query.
-
Method Summary
Modifier and TypeMethodDescriptionresolve(AttributeResolutionContext resolutionContext, Map<String, List<IdPAttributeValue>> dependencyAttributes, AttributeAuthorityDescriptor roleDescriptor) Resolve the self entity ID to use in query.
-
Method Details
-
resolve
@Nullable String resolve(@Nonnull AttributeResolutionContext resolutionContext, @Nonnull Map<String, List<IdPAttributeValue>> dependencyAttributes, @Nonnull AttributeAuthorityDescriptor roleDescriptor) throws ResolutionExceptionResolve the self entity ID to use in query.- Parameters:
resolutionContext- the attribute resolution context in effect for the querydependencyAttributes- the dependency attributes in effect for the queryroleDescriptor- the attribute authority role descriptor for the query- Returns:
- the entity ID, may be null
- Throws:
ResolutionException- if there is a fatal error during processing
-