[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xmlrpc-dev
Subject:    [jira] [Commented] (WSS-678) OpenSAML Decrypter initialization failed
From:       "Alexey Markevich (Jira)" <jira () apache ! org>
Date:       2020-09-15 10:14:00
Message-ID: JIRA.13324905.1598558413000.372836.1600164840123 () 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=17196031#comment-17196031 \
] 

Alexey Markevich commented on WSS-678:
--------------------------------------

[~coheigea] PR created

> 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.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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic