All Packages Class Hierarchy This Package Previous Next Index
Interface jnfs.UserManager
- public interface interface UserManager
- extends Remote
An interface to allow the system administrator to do user management
remotely.
- Version:
- $Id: UserManager.java,v 1.13 1997/05/20 17:59:39 mjr Exp $
- Author:
- Michael John Radwin
-
managerName
- The name of the FileSystemUser in charge of management
-
getUser(Token, String)
- Returns the FileSystemUser with the name
name
if the
user exists, null
otherwise.
-
getUsernames(Token)
- Returns an enumeration of Strings representing the names of
the FileSystemUsers in the UserTable.
-
getUsers(Token)
- Returns an enumeration of the FileSystemUsers in the UserTable.
-
putUser(Token, FileSystemUser)
- Adds this user to the user table.
-
removeUser(Token, FileSystemUser)
- Removes this user from the user table.
-
removeUser(Token, String)
- Removes this user from the user table.
-
save(Token)
- Forces the user information to be written to secondary storage.
managerName
public static final String managerName
- The name of the FileSystemUser in charge of management
getUsers
public abstract Enumeration getUsers(Token token) throws RemoteException, AuthenticationException
- Returns an enumeration of the FileSystemUsers in the UserTable.
- Throws: AuthenticationException
- if the authentication
of
user
fails.
getUsernames
public abstract Enumeration getUsernames(Token token) throws RemoteException, AuthenticationException
- Returns an enumeration of Strings representing the names of
the FileSystemUsers in the UserTable.
- Throws: AuthenticationException
- if the authentication
of
user
fails.
getUser
public abstract FileSystemUser getUser(Token token,
String name) throws RemoteException, AuthenticationException
- Returns the FileSystemUser with the name
name
if the
user exists, null
otherwise.
- Throws: AuthenticationException
- if the authentication
of
user
fails.
putUser
public abstract void putUser(Token tok,
FileSystemUser user) throws RemoteException, AuthenticationException
- Adds this user to the user table.
- Throws: AuthenticationException
- if the authentication
of
admin
fails.
removeUser
public abstract boolean removeUser(Token tok,
FileSystemUser user) throws RemoteException, AuthenticationException
- Removes this user from the user table.
- Returns:
-
true
if the user was found and successfully removed;
false
otherwise.
- Throws: AuthenticationException
- if the authentication
of
admin
fails.
removeUser
public abstract boolean removeUser(Token tok,
String username) throws RemoteException, AuthenticationException
- Removes this user from the user table.
- Returns:
-
true
if the user was found and successfully removed;
false
otherwise.
- Throws: AuthenticationException
- if the authentication
of
admin
fails.
save
public abstract boolean save(Token tok) throws RemoteException, AuthenticationException
- Forces the user information to be written to secondary storage.
- Throws: AuthenticationException
- if the authentication
of
admin
fails.
All Packages Class Hierarchy This Package Previous Next Index