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
