EndpointType - type of endpointpublic class DefaultEndpointResolver<EndpointType extends Endpoint> extends AbstractEndpointResolver<EndpointType>
The supported Criterion types and their use follows:
EndpointCriterion
BindingCriterion
| Modifier and Type | Field and Description |
|---|---|
private org.slf4j.Logger |
log
Class logger.
|
| Constructor and Description |
|---|
DefaultEndpointResolver() |
| Modifier and Type | Method and Description |
|---|---|
private boolean |
checkBindingCriterion(BindingCriterion bindings,
EndpointType endpoint)
Verify the candidate's Binding attribute, if set, is among the set in the supplied criterion.
|
private boolean |
checkEndpointCriterion(EndpointCriterion<EndpointType> comparison,
EndpointType endpoint)
Verify the candidate's attributes match any attributes supplied in the criterion.
|
protected boolean |
doCheckEndpoint(net.shibboleth.utilities.java.support.resolver.CriteriaSet criteria,
EndpointType endpoint)
Apply the supplied criteria to a candidate endpoint to determine its suitability.
|
getLogPrefix, resolve, resolveSingledoInitialize, getId, setIdprotected boolean doCheckEndpoint(@Nonnull
net.shibboleth.utilities.java.support.resolver.CriteriaSet criteria,
@Nonnull
EndpointType endpoint)
doCheckEndpoint in class AbstractEndpointResolver<EndpointType extends Endpoint>criteria - input criteria setendpoint - candidate endpointprivate boolean checkBindingCriterion(@Nonnull
BindingCriterion bindings,
@Nonnull
EndpointType endpoint)
bindings - the bindings to allowendpoint - the candidate endpointprivate boolean checkEndpointCriterion(@Nonnull
EndpointCriterion<EndpointType> comparison,
@Nonnull
EndpointType endpoint)
comparison - the endpoint to compare againstendpoint - the candidate endpoint