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

Variable Index

 o managerName
The name of the FileSystemUser in charge of management

Method Index

 o getUser(Token, String)
Returns the FileSystemUser with the name name if the user exists, null otherwise.
 o getUsernames(Token)
Returns an enumeration of Strings representing the names of the FileSystemUsers in the UserTable.
 o getUsers(Token)
Returns an enumeration of the FileSystemUsers in the UserTable.
 o putUser(Token, FileSystemUser)
Adds this user to the user table.
 o removeUser(Token, FileSystemUser)
Removes this user from the user table.
 o removeUser(Token, String)
Removes this user from the user table.
 o save(Token)
Forces the user information to be written to secondary storage.

Variables

 o managerName
 public static final String managerName
The name of the FileSystemUser in charge of management

Methods

 o 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.
 o 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.
 o 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.
 o 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.
 o 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.
 o 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.
 o 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