Decryption config
Brent Putman
putmanb at georgetown.edu
Wed May 28 21:25:31 EDT 2014
On 5/28/14 8:19 PM, Cantor, Scott wrote:
> On 5/28/14, 8:09 PM, "Brent Putman" <putmanb at georgetown.edu> wrote:
>> Ok, I think this is all done. You can give it a try and let me know if I
>> missed anything.
> I'm redoing the Spring wiring now, you should probably take a look once
> it's checked in. It's all in conf/credentials.xml
All the credential resolver stuff looks fine, as far as I can tell.
The one thing that I noticed is:
<bean id="defaultEncryptedKeyResolver"
class="org.opensaml.xmlsec.encryption.support.ChainingEncryptedKeyResolver"
c:recipients-ref="entityID">
The entityID looks like a String bean, but that class takes a
Set<String> there. Does Spring auto-magically convert single values
into singleton Collections? If not, it should be a Set. Or
alternatively, I could just add overloaded constructors to the
EncryptedKeyResolvers to take a single String, since that's the majority
case anyway. Actually, I'll just go ahead and do that, it's easy enough.
More information about the dev
mailing list