Interface RequestGenerator<T extends RequestAbstractType,I extends RequestGeneratorInput>
-
- Type Parameters:
T
- the request typeI
- the type of the input required by this generator
- All Known Subinterfaces:
AuthnRequestGenerator<I>
- All Known Implementing Classes:
AbstractAuthnRequestGenerator
,AbstractRequestGenerator
public interface RequestGenerator<T extends RequestAbstractType,I extends RequestGeneratorInput>
Base interface for a SAML request generator.- Author:
- Martin Lindström (martin.lindstrom@litsec.se)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RequestHttpObject<T>
generateRequest(I input, PeerMetadataResolver metadataResolver)
Generates a SAML request message.String
getEntityID()
Returns the entityID for the Service Provider this request generator is serving.String
getName()
Returns the display name (for logging etc).
-
-
-
Method Detail
-
generateRequest
RequestHttpObject<T> generateRequest(I input, PeerMetadataResolver metadataResolver) throws RequestGenerationException
Generates a SAML request message.- Parameters:
input
- the request inputmetadataResolver
- resolver for finding the metadata for the receiving entity- Returns:
- a request object
- Throws:
RequestGenerationException
- for errors during request generation
-
getEntityID
String getEntityID()
Returns the entityID for the Service Provider this request generator is serving.- Returns:
- the entityID
-
getName
String getName()
Returns the display name (for logging etc).- Returns:
- the name
-
-