|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.opensaml.common.binding.AbstractEndpointSelector org.opensaml.common.binding.BasicEndpointSelector org.opensaml.saml2.binding.AuthnResponseEndpointSelector
public class AuthnResponseEndpointSelector
An endpoint selector that implements the additional selection constraints described within the SAML 2.0 AuthnRequest
specification. If an endpoint can not be resolved using either the information within the assertion consumer service
index or the assertion consumer service URL given in the authentication request, or if this information isn't
present, than the rules for the BasicEndpointSelector
are used.
Field Summary | |
---|---|
private org.slf4j.Logger |
log
Class logger. |
Constructor Summary | |
---|---|
AuthnResponseEndpointSelector()
|
Method Summary | |
---|---|
protected List<? extends Endpoint> |
filterEndpointsByProtocolBinding(List<? extends Endpoint> endpoints)
Filters the list of possible endpoints by supported outbound bindings and, if the authentication request contains a requested binding and not an ACS index, that too is used to filter the list. |
Endpoint |
selectEndpoint()
Selects the endpoint to which messages should be sent. |
protected Endpoint |
selectEndpointByACSIndex(AuthnRequest request,
List<IndexedEndpoint> endpoints)
Selects the endpoint by way of the assertion consumer service index given in the AuthnRequest. |
protected Endpoint |
selectEndpointByACSURL(AuthnRequest request,
List<IndexedEndpoint> endpoints)
Selects the endpoint by way of the assertion consumer service URL given in the AuthnRequest. |
Methods inherited from class org.opensaml.common.binding.BasicEndpointSelector |
---|
selectIndexedEndpoint, selectNonIndexedEndpoint |
Methods inherited from class org.opensaml.common.binding.AbstractEndpointSelector |
---|
getEndpointType, getEntityMetadata, getEntityRoleMetadata, getMetadataProvider, getSamlRequest, getSamlResponse, getSupportedIssuerBindings, setEndpointType, setEntityMetadata, setEntityRoleMetadata, setMetadataProvider, setSamlRequest, setSamlResponse |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final org.slf4j.Logger log
Constructor Detail |
---|
public AuthnResponseEndpointSelector()
Method Detail |
---|
public Endpoint selectEndpoint()
selectEndpoint
in class BasicEndpointSelector
protected List<? extends Endpoint> filterEndpointsByProtocolBinding(List<? extends Endpoint> endpoints)
filterEndpointsByProtocolBinding
in class BasicEndpointSelector
endpoints
- raw list of endpoints
protected Endpoint selectEndpointByACSIndex(AuthnRequest request, List<IndexedEndpoint> endpoints)
request
- the AuthnRequestendpoints
- list of endpoints to select from
protected Endpoint selectEndpointByACSURL(AuthnRequest request, List<IndexedEndpoint> endpoints)
request
- the AuthnRequestendpoints
- list of endpoints to select from
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |