Class SaltedMD5PasswordEncoder

    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      boolean check​(java.lang.String encoded, java.lang.String password)
      Deprecated.
       
      boolean check​(java.lang.String uid, java.lang.String encoded, java.lang.String password)
      Deprecated.
      Calculates the hash of 'plain' and compare it with the value of 'encoded'.
      java.lang.String decode​(java.lang.String encoded)
      Deprecated.
      Decode the given encoded password.
      java.lang.String encode​(java.lang.String password)
      Deprecated.
      Unsupported method call! You have to use encode(String, String).
      java.lang.String encode​(java.lang.String uid, java.lang.String password)
      Deprecated.
      This implementation will build a string with the following pattern
      ::::
      The value for SYSTEM_SPECIFC_SALT will be generated by getSystemSpecificSalt()
      The Value for USER_SPECIFIC_SALT will be generated by generateUserSpecificSalt(String)
      ...
      protected java.lang.String generateUserSpecificSalt​(java.lang.String uid)
      Deprecated.
      This implementation will still return the assigned user id.
      java.lang.String getSalt()
      Deprecated.
      Returns the configured SALT (see core-spring-xml).
      protected java.lang.String getSystemSpecificSalt()
      Deprecated.
      This implementation will still return the value of the corresponding spring property or advanced.properties parameter 'password.md5.salt'.
      void setSalt​(java.lang.String salt)
      Deprecated.
       
      void setSaltEncodingPolicy​(SaltEncodingPolicy saltEncodingPolicy)
      Deprecated.
       
      • Methods inherited from class java.lang.Object

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

      • SaltedMD5PasswordEncoder

        public SaltedMD5PasswordEncoder()
        Deprecated.
    • Method Detail

      • check

        public boolean check​(java.lang.String encoded,
                             java.lang.String password)
        Deprecated.
      • generateUserSpecificSalt

        protected java.lang.String generateUserSpecificSalt​(java.lang.String uid)
        Deprecated.
        This implementation will still return the assigned user id.
        Parameters:
        uid - the suer id
        Returns:
        uid the user id as assigned
      • getSystemSpecificSalt

        protected java.lang.String getSystemSpecificSalt()
        Deprecated.
        This implementation will still return the value of the corresponding spring property or advanced.properties parameter 'password.md5.salt'.
        Returns:
        systemSpecificSalt the value of the corresponding spring property or advanced.properties parameter 'password.md5.salt'
      • getSalt

        public java.lang.String getSalt()
        Deprecated.
        Returns the configured SALT (see core-spring-xml).
         
                
         
        
         
        Returns:
        the configured SALT
      • setSalt

        public void setSalt​(java.lang.String salt)
        Deprecated.
      • setSaltEncodingPolicy

        public void setSaltEncodingPolicy​(SaltEncodingPolicy saltEncodingPolicy)
        Deprecated.