org.apache.beehive.wsm.axis.security.model
Class MemoryUserImpl
Object
MemoryUserImpl
- All Implemented Interfaces:
- User
public class MemoryUserImpl
- extends Object
- implements User
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MemoryUserImpl
public MemoryUserImpl()
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