com.cafesoft.cams.auth.login.userrepository
Interface RepositoryUser


public interface RepositoryUser

An interface that describes a User object that is used to store information such as username, password, and roles.

The object will be used with conjuction with the UserRepository object. The UserRepository will store a map of UserRepository objects.

Since:
11/28/01

Method Summary
 String getName()
          Get the name of the RepositoryUser
 String getPassword()
          Get the password of the RepositoryUser
 String[] getRoles()
          Get the roles of the RepositoryUser
 void setName(String name)
          Set the name of the RepositoryUser
 void setPassword(String password)
          Set the password of the RepositoryUser
 void setRoles(String[] roles)
          Set the roles of the RepositoryUser
 

Method Detail

getName

public String getName()
Get the name of the RepositoryUser

Returns:
a String object that contains the name of the RepositoryUser

setName

public void setName(String name)
Set the name of the RepositoryUser

Parameters:
name - the new name of the RepositoryUser.

getPassword

public String getPassword()
Get the password of the RepositoryUser

Returns:
a String object that contains the password of the RepositoryUser

setPassword

public void setPassword(String password)
Set the password of the RepositoryUser

Parameters:
password - the new password of the RepositoryUser.

getRoles

public String[] getRoles()
Get the roles of the RepositoryUser

Returns:
a String[] object that contains the roles of the RepositoryUser

setRoles

public void setRoles(String[] roles)
Set the roles of the RepositoryUser

Parameters:
roles - the new roles of the RepositoryUser.


Generated on 10:40:31 AM September 10, 2003, © 1996-2003 Cafésoft LLC. All rights reserved.