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


Constructor Summary
LocalUserPrincipal()
           
 
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 javax.wbem.client.UserPrincipal
getHostName, getName, getUserName, hashCode, setHostName, setUserName, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LocalUserPrincipal

public LocalUserPrincipal()
Method Detail

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()