Skip to Content.
Sympa Menu

mace-opensaml-users - SAMLObject.equals

Subject: OpenSAML user discussion

List archive

SAMLObject.equals


Chronological Thread 
  • From: Tom Scavo <>
  • To: OpenSAML <>
  • Subject: SAMLObject.equals
  • Date: Fri, 20 Jan 2006 16:14:05 -0500
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=FTF2Dhv/2mMKN5SS7vFzr2nIUkNll5qyHRVOAgeukuhs/OdCSGKJvJt9OXdeE0g3v25moRbPTG0X3o234oAvrlRNRwabEHfQWZGDFEB+BPfJqiIdsWvy15y1efgK7PlhQQfaWErArlsk6iYHUVWawimJkOElQTHjeQdle6DJX/U=

At the risk of beating a dead horse, the following ACM paper shows how
to override Object.equals in a template class T (analogous to
SAMLObject):

http://delivery.acm.org/10.1145/620000/611987/p278-stevenson.pdf?key1=611987&key2=7666877311&coll=GUIDE&dl=GUIDE&CFID=62979474&CFTOKEN=91802265

The approach is completely general and allows subclasses of T (such as
SAMLNameIdentifier and its subclasses) to implement their own (local)
notion of 'equals'. As a bonus, the paper also shows how to do the
same thing in C++.

Tom



Archive powered by MHonArc 2.6.16.

Top of Page