kaos.core.service.directory
Interface KAoSUserDescription

All Known Implementing Classes:
DefaultKAoSUserDescription

public interface KAoSUserDescription

Define the operations to access information about a KAoS user. The information includes the user name, user password and role


Method Summary
 java.lang.String getPassword()
          Obtain the password contained by this KAoSAgentDescription.
 java.util.List getRoleList()
          Obtain List of roles for the username.
 java.lang.String getUserid()
          Obtain the username contained by this KAoSAgentDescription.
 void setPassword(java.lang.String password)
          Set the user's password.
 void setRoleList(java.util.List roleList)
          Set the role list for the user.
 void setUserid(java.lang.String userid)
          Set the user's name.
 

Method Detail

setUserid

void setUserid(java.lang.String userid)
Set the user's name.

Parameters:
username - The name of the user.

getUserid

java.lang.String getUserid()
Obtain the username contained by this KAoSAgentDescription.

Returns:
String representing the user name.

setPassword

void setPassword(java.lang.String password)
Set the user's password.

Parameters:
password - The password of the user.

getPassword

java.lang.String getPassword()
Obtain the password contained by this KAoSAgentDescription.

Returns:
String representing the user password.

getRoleList

java.util.List getRoleList()
Obtain List of roles for the username.

Returns:
List of roles for the user.

setRoleList

void setRoleList(java.util.List roleList)
Set the role list for the user.

Parameters:
roleList - The list of roles.