javax.wbem.client
Class LocalUserPrincipal
java.lang.Object
|
+--javax.wbem.client.UserPrincipal
|
+--javax.wbem.client.LocalUserPrincipal
- All Implemented Interfaces:
- java.security.Principal, java.io.Serializable
- public synchronized class LocalUserPrincipal
- extends UserPrincipal
|
Method Summary |
boolean |
equals(java.lang.Object)
The equals method checks if the specified object is the same
principal as this object. |
void |
setHostName()
|
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
LocalUserPrincipal
public LocalUserPrincipal()
equals
public boolean equals(java.lang.Object)
- Description copied from class:
UserPrincipal
- The equals method checks if the specified object is the same
principal as this object. The principals are equal if the
specified object is an instance of UserPrincipal and
the user name and authentication host name are the same.
- Specified by:
equals in interface java.security.Principal- Overrides:
equals in class UserPrincipal
- Following copied from class:
javax.wbem.client.UserPrincipal
- Parameters:
otherPrincipal - Principal instance to compare for equality- Returns:
- The name of this principal identity.
setHostName
public void setHostName()