kaos.core.service.directory
Class DefaultKAoSUserDescription

java.lang.Object
  extended by BasicAgentDescription
      extended by kaos.core.service.directory.DefaultKAoSUserDescription
All Implemented Interfaces:
KAoSUserDescription

public class DefaultKAoSUserDescription
extends BasicAgentDescription
implements KAoSUserDescription

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


Constructor Summary
DefaultKAoSUserDescription()
           
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultKAoSUserDescription

public DefaultKAoSUserDescription()
Method Detail

setUserid

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

Specified by:
setUserid in interface KAoSUserDescription
Parameters:
username - The name of the user.

getUserid

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

Specified by:
getUserid in interface KAoSUserDescription
Returns:
String representing the user name.

setPassword

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

Specified by:
setPassword in interface KAoSUserDescription
Parameters:
password - The password of the user.

getPassword

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

Specified by:
getPassword in interface KAoSUserDescription
Returns:
String representing the user password.

getRoleList

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

Specified by:
getRoleList in interface KAoSUserDescription
Returns:
List of roles for the user.

setRoleList

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

Specified by:
setRoleList in interface KAoSUserDescription
Parameters:
roleList - The list of roles.