Interface TokenManager

  • All Superinterfaces:
    io.vertigo.core.node.component.Component, io.vertigo.core.node.component.CoreComponent, io.vertigo.core.node.component.Manager
    All Known Implementing Classes:
    TokenManagerImpl

    public interface TokenManager
    extends io.vertigo.core.node.component.Manager
    Manager of Security Access Token.
    Author:
    npiedeloup (16 juil. 2014 12:49:49)
    • Method Detail

      • put

        <D extends SerializableString put​(D data)
        Store object and return unique key. Same object can be put multiple times, always return a new unique key.
        Parameters:
        data - Object to store
        Returns:
        unique key of this object
      • get

        <D extends SerializableOptional<D> get​(String key)
        Get object by key.
        Parameters:
        key - key of this object
        Returns:
        Object store
      • getAndRemove

        <D extends SerializableOptional<D> getAndRemove​(String key)
        Get and remove object by key.
        Parameters:
        key - key of this object
        Returns:
        Object store or null if unknown