This commit is contained in:
1993heqiang 2023-06-18 07:52:22 +08:00 committed by Josh Cummings
parent 0d4e3f939a
commit fb2b0a76e7
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ class OpenSamlAuthenticationRequestResolver {
XMLObjectProviderRegistry registry = ConfigurationService.get(XMLObjectProviderRegistry.class);
this.marshaller = (AuthnRequestMarshaller) registry.getMarshallerFactory()
.getMarshaller(AuthnRequest.DEFAULT_ELEMENT_NAME);
Assert.notNull(this.marshaller, "logoutRequestMarshaller must be configured in OpenSAML");
Assert.notNull(this.marshaller, "authnRequestMarshaller must be configured in OpenSAML");
this.authnRequestBuilder = (AuthnRequestBuilder) XMLObjectProviderRegistrySupport.getBuilderFactory()
.getBuilder(AuthnRequest.DEFAULT_ELEMENT_NAME);
Assert.notNull(this.authnRequestBuilder, "authnRequestBuilder must be configured in OpenSAML");