Class SingleValueStore<T>


  • public class SingleValueStore<T>
    extends Object
    A simple wrapper around a Store to store a single value. The value is stored with a fixed key.
    Since:
    8.4.1
    Author:
    XIMA MEDIA GmbH
    • Constructor Detail

      • SingleValueStore

        public SingleValueStore​(org.pac4j.core.store.Store<String,​T> store)
    • Method Detail

      • get

        public T get()
      • set

        public void set​(T value)
      • remove

        public void remove()