Package net.shibboleth.idp.profile.impl
Class ResolverTestRequest
java.lang.Object
net.shibboleth.idp.profile.impl.ResolverTestRequest
Object representing a request to run the attribute resolution and filtering components.
This abstracts the parameters used to populate the context tree and query attributes for a subject, optionally on behalf of a specific requester for a specific protocol.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final IntegerThe<AttributeConsumingService>index into metadata.private final StringThe name of the subject.private final StringProtocol identifier to simulate a response for.private final StringThe ID of the requester.private final BooleanUnfiltered flag. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the<AttributeConsumingService>index into metadata to apply.Get the name of the subject.Get the protocol to apply to the results.Get the ID of the requesting relying party.Get whether to dump unfiltered attributes in protocol-neutral output.toString()
-
Field Details
-
principal
The name of the subject. -
requesterId
The ID of the requester. -
acsIndex
The<AttributeConsumingService>index into metadata. -
protocol
Protocol identifier to simulate a response for. -
unfiltered
Unfiltered flag.
-
-
Constructor Details
-
ResolverTestRequest
public ResolverTestRequest(@Nonnull @NotEmpty String princ, @Nonnull @NotEmpty String requester, @Nullable Integer index, @Nullable String prot, @Nullable Boolean unfilteredFlag) Constructor.- Parameters:
princ- name of subjectrequester- ID of requesterindex-<AttributeConsumingService>indexprot- protocol IDunfilteredFlag- unfiltered flag
-
-
Method Details
-
getPrincipal
Get the name of the subject.- Returns:
- name of the subject
-
getRequesterId
Get the ID of the requesting relying party.- Returns:
- ID of the requesting relying party
-
getAttributeConsumingServiceIndex
Get the<AttributeConsumingService>index into metadata to apply.- Returns:
<AttributeConsumingService>index into metadata, or null
-
getProtocol
Get the protocol to apply to the results.- Returns:
- protocol to apply to the results
-
getUnfiltered
Get whether to dump unfiltered attributes in protocol-neutral output.- Returns:
- whether to dump unfiltered attributes
- Since:
- 5.1.0
-
toString
-