org.apache.jetspeed.security.spi.impl
Class MessageDigestCredentialPasswordEncoder
java.lang.Object
org.apache.jetspeed.security.spi.impl.MessageDigestCredentialPasswordEncoder
- All Implemented Interfaces:
- org.apache.jetspeed.security.spi.CredentialPasswordEncoder
public class MessageDigestCredentialPasswordEncoder
- extends Object
- implements org.apache.jetspeed.security.spi.CredentialPasswordEncoder
MessageDigestCredentialPasswordEncoder
- Version:
- $Id: MessageDigestCredentialPasswordEncoder.java 516448 2007-03-09 16:25:47Z ate $
- Author:
- Ate Douma
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
simpleEncryption
boolean simpleEncryption
digester
MessageDigest digester
MessageDigestCredentialPasswordEncoder
public MessageDigestCredentialPasswordEncoder()
throws NoSuchAlgorithmException
- Throws:
NoSuchAlgorithmException
MessageDigestCredentialPasswordEncoder
public MessageDigestCredentialPasswordEncoder(boolean simpleEncryption)
throws NoSuchAlgorithmException
- Throws:
NoSuchAlgorithmException
MessageDigestCredentialPasswordEncoder
public MessageDigestCredentialPasswordEncoder(String algorithm)
throws NoSuchAlgorithmException
- Throws:
NoSuchAlgorithmException
MessageDigestCredentialPasswordEncoder
public MessageDigestCredentialPasswordEncoder(String algorithm,
boolean simpleEncryption)
throws NoSuchAlgorithmException
- Throws:
NoSuchAlgorithmException
getAlgorithm
public String getAlgorithm()
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
- See Also:
CredentialPasswordEncoder.encode(java.lang.String, java.lang.String)
Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.