Class DefaultSecureStore

    • Method Detail

      • getList

        public String[] getList​(String section,
                                String subsection,
                                String name)
        Description copied from class: SecureStore
        Extract list of values from SecureStore and decrypt every value in that list or null when property was not found.
        Specified by:
        getList in class SecureStore
        Returns:
        decrypted list of string values or null
      • getListForPlugin

        public String[] getListForPlugin​(String pluginName,
                                         String section,
                                         String subsection,
                                         String name)
        Description copied from class: SecureStore
        Extract list of plugin config values from SecureStore and decrypt every value in that list, or null when property was not found.
        Specified by:
        getListForPlugin in class SecureStore
        Returns:
        decrypted list of string values or null
      • setList

        public void setList​(String section,
                            String subsection,
                            String name,
                            List<String> values)
        Description copied from class: SecureStore
        Store list of values in SecureStore.

        This method is responsible for encrypting all values in the list and storing them.

        Specified by:
        setList in class SecureStore
        values - list of plain text values
      • unset

        public void unset​(String section,
                          String subsection,
                          String name)
        Description copied from class: SecureStore
        Remove value for given section, subsection and name from SecureStore.
        Specified by:
        unset in class SecureStore
      • isOutdated

        public boolean isOutdated()
        Description copied from class: SecureStore
        Returns true if currently loaded values are outdated
        Specified by:
        isOutdated in class SecureStore