Package pro.fessional.wings.slardar.security.pass
See: Description
-
Class Summary Class Description DefaultPasssaltEncoder HashPasswordEncoder When using `noop`, the hash of the password is passed instead of plaintext, and the hash value is compared in `noop` way {noop-md5}PLAIN_TEXT = {noop}md5(PLAIN_TEXT)MysqlPasswordEncoder mysql5 `password` function compatible encoder PasswordEncoders Password Storage BasicPasswordEncoder A compromise between BasicAuthentication and DigestAuthentication to avoid sending plaintext password. Use the password to md5sum the current timestamp, then send the timestamp and md5sum instead of a password. Requires the timestamp to be within 3 minutes of the server. timestamp - form 1970 in ms password - user password md5_hash = md5($timestamp + "#" + $password) token = $timestamp + "#" + $md5_hash Authorization:"Basic base64_url_safe($username + ":" + $token)"NeverPasswordEncoder never match, return false always.