Class KEMemoryStore<V extends KERecord>

    • Constructor Detail

      • KEMemoryStore

        public KEMemoryStore​(edu.uiuc.ncsa.security.core.IdentifiableProvider<V> identifiableProvider,
                             KEConverter<V> converter)
    • Method Detail

      • getXMLConverter

        public edu.uiuc.ncsa.security.core.XMLConverter<V> getXMLConverter()
        Specified by:
        getXMLConverter in interface edu.uiuc.ncsa.security.core.Store<V extends KERecord>
      • getMostRecent

        public List<V> getMostRecent​(int n,
                                     List<String> attributes)
        Specified by:
        getMostRecent in interface edu.uiuc.ncsa.security.core.Store<V extends KERecord>
      • getByKID

        public KERecord getByKID​(String kid)
        Description copied from interface: KEStore
        For a given key id (kid) find an return. Key ids are unique in the database. This may be null if there is no such KERecord.
        Specified by:
        getByKID in interface KEStore<V extends KERecord>
        Returns:
      • getCurrentKeys

        public edu.uiuc.ncsa.security.util.jwk.JSONWebKeys getCurrentKeys​(VirtualIssuer vi)
        Description copied from interface: KEStore
        Gets the currently active keys for a given virtual issuer. Note that the virtual issuer for the server is OA2SE#SERVER_VI_ID. A current key is defined as having not expired and being valid.
        Specified by:
        getCurrentKeys in interface KEStore<V extends KERecord>
        Returns:
      • getCurrentKeys

        public edu.uiuc.ncsa.security.util.jwk.JSONWebKeys getCurrentKeys()
        Description copied from interface: KEStore
        Get all currently active keys.
        Specified by:
        getCurrentKeys in interface KEStore<V extends KERecord>
        Returns:
      • getByVI

        public edu.uiuc.ncsa.security.core.util.IdentifiableMap<KERecord> getByVI​(VirtualIssuer vi)
        Description copied from interface: KEStore
        Return valid Key Records for a given virtual issuer. This means that they have no expired and are valid. The identifier is the ID of the KERecord.
        Specified by:
        getByVI in interface KEStore<V extends KERecord>
        Returns: