I
- the type of the input required by this generatorpublic abstract class AbstractAuthnRequestGenerator<I extends RequestGeneratorInput> extends AbstractRequestGenerator<AuthnRequest,I> implements AuthnRequestGenerator<I>
Modifier and Type | Field and Description |
---|---|
protected static Predicate<SingleSignOnService> |
hasSupportedBinding
Function for checking if a metadata SingleSignOnService element has a binding that we support.
|
protected static Predicate<String> |
isValidBinding
Function for checking if a binding is valid.
|
Constructor and Description |
---|
AbstractAuthnRequestGenerator(String entityID)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected SingleSignOnService |
getSingleSignOnService(EntityDescriptor idp,
RequestGeneratorInput input)
Returns the
SingleSignOnService element to use when sending the request to the IdP. |
afterPropertiesSet, buildRequestHttpObject, generateID, getDefaultBinding, getEntityID, getName, getPeerMetadata, getRandomizer, getSigningCredentials, setName, setSigningCredentials
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
generateRequest, getEntityID, getName
protected static Predicate<String> isValidBinding
protected static Predicate<SingleSignOnService> hasSupportedBinding
public AbstractAuthnRequestGenerator(String entityID)
entityID
- the entityIDprotected SingleSignOnService getSingleSignOnService(EntityDescriptor idp, RequestGeneratorInput input) throws RequestGenerationException
SingleSignOnService
element to use when sending the request to the IdP. The preferred binding
will be searched for first, and if this is not found, another binding the we support will be used.idp
- the IdP metadatainput
- input for generatingSingleSignOnService
objectRequestGenerationException
- if not valid endpoint can be foundCopyright © 2018 Litsec AB. All rights reserved.