| java.lang.Object com.sun.jbi.security.MsgSenderPrincipal
Method Summary | |
public boolean | equals(Object o) Compares the specified Object with this X500Principal for equality. | public String | getName() Returns the name of the Principal. | public int | hashCode() Return a hash code for this Principal. |
MsgSenderPrincipal | public MsgSenderPrincipal(String name)(Code) | | Creates a new instance of MsgSenderPrincipal.
Parameters: name - is the Name of the principal. |
equals | public boolean equals(Object o)(Code) | | Compares the specified Object with this X500Principal for equality.
Specifically, this method returns true if the Object o is an X500Principal
and if the respective canonical string representations (obtained via the
getName(X500Principal.CANONICAL) method) of this object and o are equal.
Parameters: o - object to compare with true if the specified Object is equal to this X500Principal,false otherwise |
getName | public String getName()(Code) | | Returns the name of the Principal.
the name of the principal. |
hashCode | public int hashCode()(Code) | | Return a hash code for this Principal.
The hash code is calculated via: getName().hashCode()
a hash code for this Principal. |
|
|