org.apache.felix.useradmin.impl
Class UserImpl
java.lang.Object
org.apache.felix.useradmin.impl.RoleImpl
org.apache.felix.useradmin.impl.UserImpl
- All Implemented Interfaces:
- Serializable, Version, Role, User
- Direct Known Subclasses:
- GroupImpl
public class UserImpl
- extends RoleImpl
- implements User
This UserImplclass represents User role.
A User can be configured with credentials, password,properties etc.
- Version:
- $Rev$ $Date$
- See Also:
Role
,
User
,
Serialized Form
Constructor Summary |
UserImpl()
Constructs new User. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UserImpl
public UserImpl()
- Constructs new User.
getCredentials
public Dictionary getCredentials()
- Specified by:
getCredentials
in interface User
- See Also:
User.getCredentials()
hasCredential
public boolean hasCredential(String key,
Object value)
- Specified by:
hasCredential
in interface User
- See Also:
User.hasCredential(String, Object)
getType
public int getType()
- Specified by:
getType
in interface Role
- Overrides:
getType
in class RoleImpl
- See Also:
Role.getType()
impliedBy
protected boolean impliedBy(AuthorizationImpl authorization)
- Checks if this role is implied by provided Authorization object.
- Overrides:
impliedBy
in class RoleImpl
- Parameters:
authorization
- Authorization instance.
- Returns:
- true if is implied false if not.
- See Also:
Autorization
Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.