directory-kerby mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kiran Ayyagari <kayyag...@apache.org>
Subject equality of KrbIdentity
Date Wed, 01 Jul 2015 03:08:40 GMT
How do we want to define the equality of two identities? Is it based on the
'principalName' values or based on all the fields of KrbIdentity?

The right way to do this is to treat two identities as equal if their
'principalName's
match.

The current implementation is comparing all the fields and this is not
good, imagine
a List or Set of KrbIdentity objects, based on the current implementation
these
containers can hold multiple instances of KrbIdentity having the same
'principalName' but different 'kdcFlags' values.

thoughts?

-- 
Kiran Ayyagari
http://keydap.com

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message