net.incongru.berkano.security.password
Interface PasswordMatchingStrategy

All Known Implementing Classes:
AbstractMessageDigestPasswordMatchingStrategy, CleanPasswordMatchingStrategy, MD5MessageDigestPasswordMatchingStrategy, Sha1PasswordMatchingStrategy

public interface PasswordMatchingStrategy

Matches and encodes passwords.

Version:
$Revision: 1.1 $
Author:
greg, $Author: gj $ (last edit)

Method Summary
 java.lang.String encode(java.lang.String clearPassword)
           
 boolean matches(java.lang.String givenPassword, User user)
           
 

Method Detail

matches

boolean matches(java.lang.String givenPassword,
                User user)

encode

java.lang.String encode(java.lang.String clearPassword)


Copyright 2004-2004-2006 . All Rights Reserved.