com.esri.gpt.framework.security.principal
Class SecurityPrincipals<T extends SecurityPrincipal>
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<K,V>
java.util.LinkedHashMap<String,T>
com.esri.gpt.framework.collection.CaseInsensitiveMap<T>
com.esri.gpt.framework.security.principal.SecurityPrincipals<T>
- All Implemented Interfaces:
- Serializable, Cloneable, Map<String,T>
- Direct Known Subclasses:
- Groups, Roles, Users
public class SecurityPrincipals<T extends SecurityPrincipal>
- extends CaseInsensitiveMap<T>
Super-class for a SecurityPrincipal collection.
- See Also:
- Serialized Form
Method Summary |
void |
add(T member)
Adds a member to the collection. |
SecurityPrincipals
public SecurityPrincipals()
- Default constructor.
SecurityPrincipals
public SecurityPrincipals(boolean allowEmptyKey)
- Construct with a flag indicating if an empty map key is allowed.
- Parameters:
allowEmptyKey
- true if an empty key is allowed
add
public void add(T member)
- Adds a member to the collection.
The member will not be added if it is null.
- Parameters:
member
- the member to add
Copyright 2011 Environmental Systems Research Institute.
All rights reserved.
Use is subject to
license terms.