Package io.jans.as.server.model.common
Class SessionIdAccessMap
- java.lang.Object
-
- io.jans.as.server.model.common.SessionIdAccessMap
-
- All Implemented Interfaces:
java.io.Serializable
public class SessionIdAccessMap extends java.lang.Object implements java.io.Serializable
- Version:
- 0.9, 04/06/2014
- Author:
- Yuriy Zabrovarnyy
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SessionIdAccessMap()
SessionIdAccessMap(java.util.Map<java.lang.String,java.lang.Boolean> permissionGranted)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Set<java.lang.String>
clientIds()
java.lang.Boolean
get(java.lang.String clientId)
java.util.Set<java.lang.String>
getClientIds(boolean granted)
java.util.Map<java.lang.String,java.lang.Boolean>
getPermissionGranted()
void
put(java.lang.String clientId, java.lang.Boolean granted)
void
putIfAbsent(java.lang.String clientId)
void
setPermissionGranted(java.util.Map<java.lang.String,java.lang.Boolean> permissionGranted)
java.lang.String
toString()
-
-
-
Method Detail
-
getPermissionGranted
public java.util.Map<java.lang.String,java.lang.Boolean> getPermissionGranted()
-
setPermissionGranted
public void setPermissionGranted(java.util.Map<java.lang.String,java.lang.Boolean> permissionGranted)
-
clientIds
public java.util.Set<java.lang.String> clientIds()
-
getClientIds
public java.util.Set<java.lang.String> getClientIds(boolean granted)
-
get
public java.lang.Boolean get(java.lang.String clientId)
-
put
public void put(java.lang.String clientId, java.lang.Boolean granted)
-
putIfAbsent
public void putIfAbsent(java.lang.String clientId)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-