org.apache.beehive.wsm.axis.security.model
Class MemoryUserImpl

Object
  extended by MemoryUserImpl
All Implemented Interfaces:
User

public class MemoryUserImpl
extends Object
implements User


Constructor Summary
MemoryUserImpl()
           
 
Method Summary
 void addGroup(Group group)
           
 void addRole(Role role)
           
 boolean authenticate(String password)
           
 Group getGroup(String group)
           
 Collection<Group> getGroups()
           
 String getName()
           
 String getPassword()
           
 Role getRole(String role)
           
 Collection<Role> getRoles()
           
 boolean isMd5()
           
 void setMd5(boolean isMd5)
           
 void setName(String name)
           
 void setPassword(String password)
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MemoryUserImpl

public MemoryUserImpl()
Method Detail

setName

public void setName(String name)
Specified by:
setName in interface User

getName

public String getName()
Specified by:
getName in interface User

setPassword

public void setPassword(String password)
Specified by:
setPassword in interface User

getPassword

public String getPassword()
Specified by:
getPassword in interface User

setMd5

public void setMd5(boolean isMd5)
Specified by:
setMd5 in interface User

isMd5

public boolean isMd5()
Specified by:
isMd5 in interface User

authenticate

public boolean authenticate(String password)
Specified by:
authenticate in interface User

addGroup

public void addGroup(Group group)
Specified by:
addGroup in interface User

getGroup

public Group getGroup(String group)
Specified by:
getGroup in interface User

getGroups

public Collection<Group> getGroups()
Specified by:
getGroups in interface User

addRole

public void addRole(Role role)
Specified by:
addRole in interface User

getRole

public Role getRole(String role)
Specified by:
getRole in interface User

getRoles

public Collection<Role> getRoles()
Specified by:
getRoles in interface User