org.sourcejammer.server.security
Interface UserManagerInf

All Known Implementing Classes:
UserManager

public interface UserManagerInf

Title: $FileName: UserManagerInf.java$

Version:
$VerNum: 2$
Author:
$AuthorName: Rob MacGrogan$

$Description: Interface definining UserManagers.$
$KeyWordsOff: $


Method Summary
 void addUser(java.lang.String userName, java.lang.String password, java.lang.String fullName, boolean isAdmin)
           
 void changeUserPassword(User oUser, java.lang.String userName, java.lang.String newPassword)
           
 User getUserObject(java.lang.String userName)
           
 java.util.Enumeration getUsersList()
           
 User logInUser(java.lang.String userName, java.lang.String password)
           
 void modifyUser(java.lang.String userName, boolean isAdmin)
           
 void removeUser(java.lang.String userName)
           
 

Method Detail

getUsersList

public java.util.Enumeration getUsersList()

modifyUser

public void modifyUser(java.lang.String userName,
                       boolean isAdmin)
                throws UserDoesNotExistException
UserDoesNotExistException

logInUser

public User logInUser(java.lang.String userName,
                      java.lang.String password)
               throws InvalidPasswordException,
                      UserDoesNotExistException
InvalidPasswordException
UserDoesNotExistException

getUserObject

public User getUserObject(java.lang.String userName)
                   throws UserDoesNotExistException
UserDoesNotExistException

changeUserPassword

public void changeUserPassword(User oUser,
                               java.lang.String userName,
                               java.lang.String newPassword)
                        throws SecurityException,
                               UserDoesNotExistException
SecurityException
UserDoesNotExistException

removeUser

public void removeUser(java.lang.String userName)
                throws UserDoesNotExistException
UserDoesNotExistException

addUser

public void addUser(java.lang.String userName,
                    java.lang.String password,
                    java.lang.String fullName,
                    boolean isAdmin)
             throws UserExistsException
UserExistsException


Copyright 2003 Soucejammer project.