Skip to Content.
Sympa Menu

mace-opensaml-users - Re: java-xmltooling build issue

Subject: OpenSAML user discussion

List archive

Re: java-xmltooling build issue


Chronological Thread 
  • From: Chad La Joie <>
  • To:
  • Subject: Re: java-xmltooling build issue
  • Date: Tue, 19 Dec 2006 15:36:29 -0500
  • Organization: University Information Systems

Thanks Paul. Comments like this are what we'd like to see at this time. As we've mentioned on the list the code is under development and not in any way, shape, or form recommended for real deployment usage yet. But we still like "hey, this particular thing broke in my env and here's the fix" correspondence. So thanks. I'll probably look in to this tonight or tomorrow night.

Paul Hethmon wrote:
Ok, I wasn't sure whether to post this or not, but in starting to use some of the opensaml libraries, I ran into a build problem with java-xmltooling. The particular error was thrown on the compile of org.opensaml.xml.security.X509Util.java at line 206. The javac error was to the effect of:
No unique maximal instance exists for type variable ...
refering to <KeyType>. In reading about a similar problem on the Sun Java forums, the solution was simply to add a cast. So from:
return getKey(new FileInputStream(keyFile), passphrase);
to
return (KeyType) getKey(new FileInputStream(keyFile), passphrase);
This is using revision 247 of that file and 251 of the project itself.
thanks,
Paul
*Paul Hethmon*
*Chief Software Architect*
Clareity™ Security
SAFEMLS™ Security Education, Consulting and Solutions
http://www.SAFEMLS.com <http://www.safemls.com/>


<mailto:>
work: 865.769.0456
cell: 865.250.3517

--
Chad La Joie 2052-C Harris Bldg
OIS-Middleware 202.687.0124



Archive powered by MHonArc 2.6.16.

Top of Page