org.apache.jetspeed.security.impl
Class Jetspeed1CredentialPasswordEncoder

java.lang.Object
  extended by org.apache.jetspeed.security.impl.Jetspeed1CredentialPasswordEncoder
All Implemented Interfaces:
org.apache.jetspeed.security.spi.CredentialPasswordEncoder

public class Jetspeed1CredentialPasswordEncoder
extends Object
implements org.apache.jetspeed.security.spi.CredentialPasswordEncoder


Field Summary
protected  String encodingMethod
           
protected  String passwordsAlgorithm
           
 
Constructor Summary
Jetspeed1CredentialPasswordEncoder()
           
Jetspeed1CredentialPasswordEncoder(String algorithm)
           
Jetspeed1CredentialPasswordEncoder(String algorithm, String encoding)
           
 
Method Summary
 String encode(String userName, String clearTextPassword)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

passwordsAlgorithm

protected String passwordsAlgorithm

encodingMethod

protected String encodingMethod
Constructor Detail

Jetspeed1CredentialPasswordEncoder

public Jetspeed1CredentialPasswordEncoder()

Jetspeed1CredentialPasswordEncoder

public Jetspeed1CredentialPasswordEncoder(String algorithm)

Jetspeed1CredentialPasswordEncoder

public Jetspeed1CredentialPasswordEncoder(String algorithm,
                                          String encoding)
Method Detail

encode

public String encode(String userName,
                     String clearTextPassword)
              throws org.apache.jetspeed.security.SecurityException
Specified by:
encode in interface org.apache.jetspeed.security.spi.CredentialPasswordEncoder
Throws:
org.apache.jetspeed.security.SecurityException


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