[prev in list] [next in list] [prev in thread] [next in thread]
List: xmlrpc-user
Subject: [jira] [Commented] (WSS-678) OpenSAML Decrypter initialization failed
From: "Alexey Markevich (Jira)" <jira () apache ! org>
Date: 2020-08-28 10:43:00
Message-ID: JIRA.13324905.1598558413000.288320.1598611380114 () Atlassian ! JIRA
[Download RAW message or body]
[ https://issues.apache.org/jira/browse/WSS-678?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17186465#comment-17186465 \
]
Alexey Markevich commented on WSS-678:
--------------------------------------
I'm going to update both CXF & WSS4J
> 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
>
> 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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic