org.imixs.workflow.jee.jsf.util
Class SecurityHashMap

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap
          extended by org.imixs.workflow.jee.jsf.util.SecurityHashMap
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.util.Map

public class SecurityHashMap
extends java.util.HashMap

This is a helper Class to check access level of a user. Can be used in a JSP/JSF page to check for a specific user role Example: #{IsUserInRole['org.imixs.ACCESSLEVEL.MANAGERACCESS']} where "IsUserInRole" is a backing bean instance of the SecurityHashMap

Author:
Ralph Soika
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.AbstractMap
java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>
 
Constructor Summary
SecurityHashMap()
           
 
Method Summary
 java.lang.Object get(java.lang.Object object)
           
 
Methods inherited from class java.util.HashMap
clear, clone, containsKey, containsValue, entrySet, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Constructor Detail

SecurityHashMap

public SecurityHashMap()
Method Detail

get

public java.lang.Object get(java.lang.Object object)
Specified by:
get in interface java.util.Map
Overrides:
get in class java.util.HashMap


Copyright © 2006-2010 Imixs Software Solutions GmbH. All Rights Reserved.