org.talika.tarsis.security.memory
Class MemoryUserImpl
java.lang.Object
org.talika.tarsis.security.UserImpl
org.talika.tarsis.security.memory.MemoryUserImpl
- All Implemented Interfaces:
- java.io.Serializable, User
public final class MemoryUserImpl
- extends UserImpl
- implements java.io.Serializable
XML/Memory implementation of User
interface.
- Version:
- $Revision: 125 $
- Author:
- Jose M. Palomar
- See Also:
- Serialized Form
Constructor Summary |
MemoryUserImpl(java.lang.String login,
java.lang.String name,
java.lang.String password,
java.util.Set roles)
Creates a new MemoryUserImpl using given parameters. |
Method Summary |
boolean |
isPasswordValid(java.lang.String password)
Returns true if password is valid. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
MemoryUserImpl
public MemoryUserImpl(java.lang.String login,
java.lang.String name,
java.lang.String password,
java.util.Set roles)
- Creates a new
MemoryUserImpl
using given parameters.
- Parameters:
login
- String login name of user.name
- String real name of user.password
- String password of user.roles
- Set roles of user.
isPasswordValid
public boolean isPasswordValid(java.lang.String password)
- Returns
true
if password is valid.
- Parameters:
password
- String password to check.
- Returns:
- boolean
true
if password is valid.
Copyright © 2002-2012 Talika Open Source Group. All Rights Reserved.