Skip to content

Documentation has wrong code example in the 'Customizing OpenSAML’s AuthnRequest Instance' section #10364

@nyszilard

Description

@nyszilard

In the Customizing OpenSAML’s AuthnRequest Instance section the code example is wrong, because:

  • There is no parameterless DefaultSaml2AuthenticationRequestContextResolver constructor
  • OpenSamlAuthenticationRequestFactory is deprecated, so it should use OpenSaml4AuthenticationRequestFactory instead
  • It should use Converter<Saml2AuthenticationRequestContext, AuthnRequest> instead of Converter<MySaml2AuthenticationRequestContext, AuthnRequest>

Metadata

Metadata

Assignees

Labels

in: saml2An issue in SAML2 modulesstatus: backportedAn issue that has been backported to maintenance branchestype: bugA general bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions