org.apache.jetspeed.security
Interface PasswordEncodingService

All Known Subinterfaces:
AlgorithmUpgradePasswordEncodingService

public interface PasswordEncodingService

PasswordEncodingService allows decoding of user passwords provided that a two-way encryption algoritmn is used.

Version:
$Id$
Author:
Ate Douma

Method Summary
 String decode(String userName, String encodedPassword)
           
 String encode(String userName, String clearTextPassword)
           
 

Method Detail

encode

String encode(String userName,
              String clearTextPassword)
              throws SecurityException
Throws:
SecurityException

decode

String decode(String userName,
              String encodedPassword)
              throws SecurityException
Throws:
SecurityException


Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.