Class 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
    • 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()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • SessionIdAccessMap

        public SessionIdAccessMap()
      • SessionIdAccessMap

        public SessionIdAccessMap​(java.util.Map<java.lang.String,​java.lang.Boolean> permissionGranted)
    • 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 class java.lang.Object