org.apache.felix.useradmin.impl
Class RoleCredentials
java.lang.Object
java.util.Dictionary<K,V>
java.util.Hashtable
org.apache.felix.useradmin.impl.RoleProperties
org.apache.felix.useradmin.impl.RoleCredentials
- All Implemented Interfaces:
- Serializable, Cloneable, Map
public class RoleCredentials
- extends RoleProperties
This class RoleCredentials represents role credentials hashtable. User of this class needs to have proper
permissions UserAdminPermission#CHANGE_CREDENTIAL to modify credentials and UserAdminPermission#GET_CREDENTIAL to get
credentials.
Inherits methods from RoleProperties.
- Version:
- $Rev$ $Date$
- See Also:
RoleProperties
,
Serialized Form
Methods inherited from class java.util.Hashtable |
clone, contains, containsKey, containsValue, elements, entrySet, equals, hashCode, isEmpty, keys, keySet, putAll, rehash, size, values |
RoleCredentials
public RoleCredentials(RoleImpl role)
- Constructs new RoleCredentials.
- Parameters:
role
- Role instance.
getChangeAction
protected String getChangeAction()
- The permission need to modify the credentials.
- Overrides:
getChangeAction
in class RoleProperties
get
public Object get(Object key)
- Gets credential for specified key.
User of this method needs to have UserAdminPermission#GET_CREDENTIAL permissions.
- Specified by:
get
in interface Map
- Overrides:
get
in class RoleProperties
toString
public String toString()
- Overrides:
toString
in class RoleProperties
Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.