org.jasig.services.persondir.support
Class CaseInsensitiveAttributeNamedPersonImpl

java.lang.Object
  extended by org.jasig.services.persondir.support.BasePersonImpl
      extended by org.jasig.services.persondir.support.AttributeNamedPersonImpl
          extended by org.jasig.services.persondir.support.CaseInsensitiveAttributeNamedPersonImpl
All Implemented Interfaces:
Serializable, Principal, IPersonAttributes

public class CaseInsensitiveAttributeNamedPersonImpl
extends AttributeNamedPersonImpl

Custom IPersonAttributes that uses a case insensitive Map to hide attribute name case

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jasig.services.persondir.support.AttributeNamedPersonImpl
DEFAULT_USER_NAME_ATTRIBUTE
 
Constructor Summary
CaseInsensitiveAttributeNamedPersonImpl(IPersonAttributes personAttributes)
           
CaseInsensitiveAttributeNamedPersonImpl(Map<String,List<Object>> attributes)
           
CaseInsensitiveAttributeNamedPersonImpl(String userNameAttribute, Map<String,List<Object>> attributes)
           
 
Method Summary
protected  Map<String,List<Object>> createImmutableAttributeMap(int size)
          Create the Map used to store the attributes internally for this IPersonAttributes
 
Methods inherited from class org.jasig.services.persondir.support.AttributeNamedPersonImpl
getName
 
Methods inherited from class org.jasig.services.persondir.support.BasePersonImpl
buildImmutableAttributeMap, equals, getAttributes, getAttributeValue, getAttributeValues, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CaseInsensitiveAttributeNamedPersonImpl

public CaseInsensitiveAttributeNamedPersonImpl(Map<String,List<Object>> attributes)

CaseInsensitiveAttributeNamedPersonImpl

public CaseInsensitiveAttributeNamedPersonImpl(String userNameAttribute,
                                               Map<String,List<Object>> attributes)

CaseInsensitiveAttributeNamedPersonImpl

public CaseInsensitiveAttributeNamedPersonImpl(IPersonAttributes personAttributes)
Method Detail

createImmutableAttributeMap

protected Map<String,List<Object>> createImmutableAttributeMap(int size)
Description copied from class: BasePersonImpl
Create the Map used to store the attributes internally for this IPersonAttributes

Overrides:
createImmutableAttributeMap in class BasePersonImpl


Copyright © 2012 Jasig. All Rights Reserved.