Class AccessControlledMap
- java.lang.Object
-
- org.glassfish.contextpropagation.internal.AccessControlledMap
-
public class AccessControlledMap extends Object
This class is used by the ContextMap for: - checking permissions - setting isOriginator to true, since entries created via this API are created for the first time here.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAccessControlledMap.ContextAccessLevel
-
Constructor Summary
Constructors Constructor Description AccessControlledMap()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Iterator<Map.Entry<String,Entry>>entryIterator()<T> Tget(String key)EntrygetEntry(String key)EnumSet<PropagationMode>getPropagationModes(String key)Iterator<String>names()<T> Tput(String key, Entry entry)<T> Tremove(String key)
-
-
-
Field Detail
-
simpleMap
protected SimpleMap simpleMap
-
-
Method Detail
-
get
public <T> T get(String key) throws InsufficientCredentialException
- Throws:
InsufficientCredentialException
-
put
public <T> T put(String key, Entry entry) throws InsufficientCredentialException
- Throws:
InsufficientCredentialException
-
remove
public <T> T remove(String key) throws InsufficientCredentialException
- Throws:
InsufficientCredentialException
-
getPropagationModes
public EnumSet<PropagationMode> getPropagationModes(String key) throws InsufficientCredentialException
- Throws:
InsufficientCredentialException
-
-