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
 java.lang.String decode(java.lang.String userName, java.lang.String encodedPassword)
           
 java.lang.String encode(java.lang.String userName, java.lang.String clearTextPassword)
           
 

Method Detail

encode

java.lang.String encode(java.lang.String userName,
                        java.lang.String clearTextPassword)
                        throws SecurityException
Throws:
SecurityException

decode

java.lang.String decode(java.lang.String userName,
                        java.lang.String encodedPassword)
                        throws SecurityException
Throws:
SecurityException


Copyright © 1999-2011 The Apache Software Foundation. All Rights Reserved.