Esri Geoportal Server
1.0

com.esri.gpt.framework.security.principal
Class SecurityPrincipals<T extends SecurityPrincipal>

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap<K,V>
          extended by java.util.LinkedHashMap<String,T>
              extended by com.esri.gpt.framework.collection.CaseInsensitiveMap<T>
                  extended by 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

Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
 
Constructor Summary
SecurityPrincipals()
          Default constructor.
SecurityPrincipals(boolean allowEmptyKey)
          Construct with a flag indicating if an empty map key is allowed.
 
Method Summary
 void add(T member)
          Adds a member to the collection.
 
Methods inherited from class com.esri.gpt.framework.collection.CaseInsensitiveMap
containsKey, get, getAllowEmptyKey, put, toString
 
Methods inherited from class java.util.LinkedHashMap
clear, containsValue, removeEldestEntry
 
Methods inherited from class java.util.HashMap
clone, entrySet, isEmpty, keySet, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
entrySet, equals, hashCode, isEmpty, keySet, putAll, remove, size, values
 

Constructor Detail

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
Method Detail

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

Esri Geoportal Server
1.0

Copyright 2011 Environmental Systems Research Institute. All rights reserved. Use is subject to license terms.