|
OpenNMS API 1.2.3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opennms.web.authenticate.OpenNMSPrincipal
Package protected class representing an individual user's Principal object.
It is built from a User
data structure.
Field Summary | |
protected User |
userInfo
The internal representation of all user information. |
Constructor Summary | |
OpenNMSPrincipal(User userInfo)
Construct a new OpenNMSPrincipal instance. |
Method Summary | |
boolean |
comparePasswords(java.lang.String password)
Return the password of this Principal. |
java.lang.String |
getName()
Return the name of this Principal. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.security.Principal |
equals, hashCode, toString |
Field Detail |
protected User userInfo
Constructor Detail |
public OpenNMSPrincipal(User userInfo)
userInfo
- The user info for this PrincipalMethod Detail |
public java.lang.String getName()
getName
in interface java.security.Principal
public boolean comparePasswords(java.lang.String password)
|
OpenNMS API 1.2.3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |