You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ws.apache.org by "Colm O hEigeartaigh (Jira)" <ji...@apache.org> on 2020/09/16 09:44:00 UTC
[jira] [Resolved] (WSS-678) OpenSAML Decrypter initialization
failed
[ https://issues.apache.org/jira/browse/WSS-678?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Colm O hEigeartaigh resolved WSS-678.
-------------------------------------
Resolution: Fixed
> OpenSAML Decrypter initialization failed
> ----------------------------------------
>
> Key: WSS-678
> URL: https://issues.apache.org/jira/browse/WSS-678
> Project: WSS4J
> Issue Type: Bug
> Components: WSS4J Core
> Affects Versions: 2.3.0
> Reporter: Alexey Markevich
> Assignee: Colm O hEigeartaigh
> Priority: Major
> Fix For: 2.3.1, 2.4.0
>
>
> Following code
> {code:java}
> OpenSAMLUtil.initSamlEngine();
> Decrypter decrypter = new Decrypter(null, null, null);
> {code}
> cause
> {code:java}
> Exception in thread "main" net.shibboleth.utilities.java.support.logic.ConstraintViolationException: DecryptionParserPool has not been registered with the global configuration
> at net.shibboleth.utilities.java.support.logic.Constraint.isNotNull(Constraint.java:227)
> at org.opensaml.xmlsec.encryption.support.Decrypter.buildParserPool(Decrypter.java:987)
> at org.opensaml.xmlsec.encryption.support.Decrypter.<init>(Decrypter.java:289)
> at org.opensaml.xmlsec.encryption.support.Decrypter.<init>(Decrypter.java:271)
> at org.opensaml.saml.saml2.encryption.Decrypter.<init>(Decrypter.java:75)
> {code}
> Possible fix is
> {code:java}
> ConfigurationService.register(DecryptionParserPool.class,
> new DecryptionParserPool(OpenSAMLUtil.getParserPool()));
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ws.apache.org
For additional commands, e-mail: dev-help@ws.apache.org