uk.ac.rdg.resc.jstyx.server
Class User
java.lang.Object
uk.ac.rdg.resc.jstyx.server.User
public class User
- extends java.lang.Object
Class representing the user at the other end of a Styx connection.
- Author:
- Jon Blower
$Revision: 604 $
$Date: 2006-03-21 14:58:42 +0000 (Tue, 21 Mar 2006) $
$Log$
Revision 1.3 2006/03/21 14:58:42 jonblower
Implemented clear-text password-based authentication and did some simple tests
Revision 1.2 2006/03/21 09:06:15 jonblower
Still implementing authentication
Revision 1.1 2006/03/20 17:51:50 jonblower
Adding authentication to base JStyx system
|
Constructor Summary |
User(StyxSecurityContext securityContext,
java.lang.String username,
java.lang.String password,
java.lang.String fullName)
Creates a new instance of User |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
User
public User(StyxSecurityContext securityContext,
java.lang.String username,
java.lang.String password,
java.lang.String fullName)
- Creates a new instance of User
getUsername
public java.lang.String getUsername()
getFullName
public java.lang.String getFullName()
passwordMatches
public boolean passwordMatches(java.lang.String otherPassword)
isMemberOf
public boolean isMemberOf(java.lang.String groupName)
- Returns:
- true if this user is a member of the group with the given name.
See StyxSecurityContext.isMember()
Copyright © 2004-2006 Reading e-Science Centre. All Rights Reserved.