Class PlaintextPropertiesPasswordManager

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean updatePassword​(java.lang.String username, java.lang.String oldPassword, java.lang.String newPassword)  
      boolean validate​(java.lang.String username, java.lang.String password)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PlaintextPropertiesPasswordManager

        public PlaintextPropertiesPasswordManager​(java.io.File propsFile)
                                           throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • validate

        public boolean validate​(java.lang.String username,
                                java.lang.String password)
                         throws java.io.IOException
        Specified by:
        validate in interface PasswordManager
        Throws:
        java.io.IOException
      • updatePassword

        public boolean updatePassword​(java.lang.String username,
                                      java.lang.String oldPassword,
                                      java.lang.String newPassword)
                               throws java.io.IOException
        Specified by:
        updatePassword in interface PasswordManager
        Throws:
        java.io.IOException