org.sblim.wbem.client
Class UserPrincipal

java.lang.Object
  extended byorg.sblim.wbem.client.UserPrincipal
All Implemented Interfaces:
java.security.Principal

public class UserPrincipal
extends java.lang.Object
implements java.security.Principal


Field Summary
protected  java.lang.String iPrincipal
           
 
Constructor Summary
UserPrincipal(java.lang.String pPrincipal)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.String getName()
          Returns the principal's name.
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.security.Principal
toString
 

Field Detail

iPrincipal

protected java.lang.String iPrincipal
Constructor Detail

UserPrincipal

public UserPrincipal(java.lang.String pPrincipal)
Method Detail

getName

public java.lang.String getName()
Returns the principal's name.

Specified by:
getName in interface java.security.Principal
Returns:
The principal's name

equals

public boolean equals(java.lang.Object o)
Specified by:
equals in interface java.security.Principal

hashCode

public int hashCode()
Specified by:
hashCode in interface java.security.Principal


Copyright © 2005, 2011 IBM Corporation. All Rights Reserved.