Interface SubjectResolver
- All Known Implementing Classes:
ChainingSubjectResolver,DependencyAttributeSubjectResolver
public interface SubjectResolver
Interface for a component which resolves the
Subject to use when executing
an attribute query.-
Method Summary
Modifier and TypeMethodDescriptionresolve(AttributeResolutionContext resolutionContext, Map<String, List<IdPAttributeValue>> dependencyAttributes, AttributeAuthorityDescriptor roleDescriptor) Resolve theSubjectto use in query.
-
Method Details
-
resolve
@Nullable Subject resolve(@Nonnull AttributeResolutionContext resolutionContext, @Nonnull Map<String, List<IdPAttributeValue>> dependencyAttributes, @Nonnull AttributeAuthorityDescriptor roleDescriptor) throws ResolutionExceptionResolve theSubjectto 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 subject, may be null
- Throws:
ResolutionException- if there is a fatal error during processing
-