equals(Object another) equals must be implemented so that it is possible to compare different
implementations of the ContelligentPrincipal interface.
Therefore only the name and groupId
property may be used in this method.
equals must be implemented so that it is possible to compare different
implementations of the ContelligentPrincipal interface.
Therefore only the name and groupId
property may be used in this method. OTHERWISE the PERMISSION check will
NOT WORK.
Parameters: another -
hashCode must be implemented in the way that the hashCode of the return
value of
ContelligentPrincipal.toPrincipalString is returned. OTHERWISE the PERMISSION
check will NOT WORK.