Interface IPasswordStore

    • Method Detail

      • getPasswordStore

        static IPasswordStore getPasswordStore​(java.lang.String id,
                                               java.util.Map<java.lang.String,​java.lang.String> kv)
                                        throws java.lang.RuntimeException
        Construct a password store. If the process was started by Nuxwdog return a NuxwdogPasswordStore. Otherwise the class name is read from the "passwordClass" key in the map, an instance is constructed, its init() method is called with the value of the "passwordFile" key in the map, and the instance is returned.
        Throws:
        java.lang.RuntimeException
      • init

        void init​(java.lang.String pwdPath)
           throws java.io.IOException
        Throws:
        java.io.IOException
      • getPassword

        java.lang.String getPassword​(java.lang.String tag,
                                     int iteration)
      • getTags

        java.util.Enumeration<java.lang.String> getTags()
      • putPassword

        java.lang.Object putPassword​(java.lang.String tag,
                                     java.lang.String password)
      • commit

        void commit()
             throws java.io.IOException,
                    java.lang.ClassCastException,
                    java.lang.NullPointerException
        Throws:
        java.io.IOException
        java.lang.ClassCastException
        java.lang.NullPointerException
      • setId

        void setId​(java.lang.String id)