com.microfocus.cics.connector.spi.MFECIPrincipal
public class MFECIPrincipal
extends Object
implements Principal, Serializable
See Also:
Method Summary | |
---|---|
String |
getName()
Return the username for this SamplePrincipal. |
String | toString()
Return a string representation of this SamplePrincipal. |
boolean | equals()
Compares the specified Object with this SamplePrincipal for equality. Returns true if the given object is also a SamplePrincipal and the two SamplePrincipals have the same username. |
String | hashCode()
Return a hash code for this SamplePrincipal. |
public MFECIPrincipal(String name)
Create an MFECIPrincipal with a username.
public String getName()
Return the username for this SamplePrincipal.
public String toString()
Return a string representation of this SamplePrincipal.
public boolean equals (Object o)
Compares the specified Object with this SamplePrincipal for equality. Returns true if the given object is also a SamplePrincipal and the two SamplePrincipals have the same username.
public int hashCode()
Return a hash code for this SamplePrincipal.