Package net.shibboleth.idp.profile.impl
Class ResolverTestRequest
- java.lang.Object
-
- net.shibboleth.idp.profile.impl.ResolverTestRequest
-
@ThreadSafe public class ResolverTestRequest extends Object
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
Fields Modifier and Type Field Description private IntegeracsIndexThe<AttributeConsumingService>index into metadata.private StringprincipalThe name of the subject.private StringprotocolProtocol identifier to simulate a response for.private StringrequesterIdThe ID of the requester.
-
Constructor Summary
Constructors Constructor Description ResolverTestRequest(String princ, String requester, Integer index, String prot)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegergetAttributeConsumingServiceIndex()Get the<AttributeConsumingService>index into metadata to apply.StringgetPrincipal()Get the name of the subject.StringgetProtocol()Get the protocol to apply to the results.StringgetRequesterId()Get the ID of the requesting relying party.StringtoString()
-
-
-
Method Detail
-
getPrincipal
@Nonnull @NotEmpty public String getPrincipal()
Get the name of the subject.- Returns:
- name of the subject
-
getRequesterId
@Nonnull @NotEmpty public String getRequesterId()
Get the ID of the requesting relying party.- Returns:
- ID of the requesting relying party
-
getAttributeConsumingServiceIndex
@Nullable public Integer getAttributeConsumingServiceIndex()
Get the<AttributeConsumingService>index into metadata to apply.- Returns:
<AttributeConsumingService>index into metadata, or null
-
getProtocol
@Nullable public String getProtocol()
Get the protocol to apply to the results.- Returns:
- protocol to apply to the results
-
-