Skip to Content.
Sympa Menu

mace-opensaml-users - RE: A stable tree?

Subject: OpenSAML user discussion

List archive

RE: A stable tree?


Chronological Thread 
  • From: "Kanungo, Rajesh" <>
  • To: <>
  • Subject: RE: A stable tree?
  • Date: Fri, 2 Feb 2007 16:56:26 -0700
  • Domainkey-signature: s=corp; d=ebay.com; c=nofws; q=dns; b=t47JGMBzfdA7aHQaXgx32gPJi2qZnX4TM87/jochOjIqycRTbcmBrRYJIjJ/oD93DX2aWhUX9itbA9mfCFEoqBd8cs5fYmS/11o9lYtDMaZBS9rQ8iUMHeL+NXm9Q3YU;

Well, you beat it into submission. Thank you. It now compiles cleanly
on IBM JDK 1.5

Generics: Even I thought I understood it till this example. This one
made me spend an entire day reading up on generics.

-- Rajesh

-----Original Message-----
From: Scott Cantor
[mailto:]

Sent: Friday, February 02, 2007 2:18 PM
To:

Subject: RE: A stable tree?

> I am still having trouble with the templates and IBM JDK 1.5 so I
> was wondering how I can get a slightly older by more stable release ?

> I was checking out the trunk but that has not worked well.

If there's no tag suitable, there's nothing else you can do but rollback
revisions.

FWIW, you can get it compiling by changing the EncryptedKeyInfoResolver
interface and making it generic:

public interface EncryptedKeyInfoResolver<KeyType extends Key> extends
KeyInfoResolver<KeyType>

And then fix the actual error like so:

public class EncryptedElementTypeKeyResolver extends
InlineX509KeyInfoResolver implements EncryptedKeyInfoResolver<PublicKey>

I don't really understand generics (I thought I did a little, but this
is way more convuluted than I can follow) so I have no idea if it works.
It does build on 1.6 though.

-- Scott



Archive powered by MHonArc 2.6.16.

Top of Page