Message Security Layer (MSL)

com.netflix.msl.tokens
Interface MslUser


public interface MslUser

A MSL user. The equals(Object) and hashCode() methods must be implemented.


Method Summary
 boolean equals(Object obj)
          Compares this object against the provided object.
 String getEncoded()
          Returns a serialized data encoding of the MSL user.
 int hashCode()
           
 

Method Detail

getEncoded

String getEncoded()

Returns a serialized data encoding of the MSL user. This is the value that will be used by the MSL stack during transport and to reconstruct the MSL user instance.

Returns:
the MSL user encoding.

equals

boolean equals(Object obj)

Compares this object against the provided object. This method must return true if the provided object is a MslUser referencing the same MSL user.

Overrides:
equals in class Object
Parameters:
obj - the object with which to compare.
Returns:
true if the object is a MslUser that references the same MSL user.
See Also:
hashCode()

hashCode

int hashCode()
Overrides:
hashCode in class Object

Message Security Layer (MSL)

Copyright © 2014 Netflix, Inc. All Rights Reserved.