swedenconnect / opensaml-addons

Extensions to OpenSAML
4 stars 2 forks source link

The getAuthnRequest method of ResponseProcessingInput should take the ID as parameter #11

Closed martin-lindstrom closed 2 years ago

martin-lindstrom commented 2 years ago

The ResponseProcessingInput interface defines the method getAuthnRequest(). This will only work if the AuthnRequest is saved in a session. If it is written to a database or cache, we can't find it unless we get the ID.

Solution: Declare getAuthnRequest(final String id) instead.