Package org.sblim.wbem.client
Class UserPrincipal
- java.lang.Object
-
- org.sblim.wbem.client.UserPrincipal
-
- All Implemented Interfaces:
java.security.Principal
public class UserPrincipal extends java.lang.Object implements java.security.Principal
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
iPrincipal
-
Constructor Summary
Constructors Constructor Description UserPrincipal(java.lang.String pPrincipal)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.lang.String
getName()
Returns the principal's name.int
hashCode()
-
-
-
Method Detail
-
getName
public java.lang.String getName()
Returns the principal's name.- Specified by:
getName
in interfacejava.security.Principal
- Returns:
- The principal's name
-
equals
public boolean equals(java.lang.Object o)
- Specified by:
equals
in interfacejava.security.Principal
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacejava.security.Principal
- Overrides:
hashCode
in classjava.lang.Object
-
-