org.apache.jetspeed.services.security.ldap
Class UnixCrypt

java.lang.Object
  extended byorg.apache.jetspeed.services.security.ldap.UnixCrypt

public class UnixCrypt
extends java.lang.Object

Unix crypt algorithm implementation. NOTE: Ender, was there a license associated with this code ? Since I don't see one, Im going to assume its ok to check this in.

Version:
$Id: UnixCrypt.java,v 1.4 2004/02/23 03:52:33 jford Exp $
Author:
Ender KILICOGLU

Method Summary
static java.lang.String crypt(java.lang.String original)
           
static java.lang.String crypt(java.lang.String salt, java.lang.String original)
           
static boolean matches(java.lang.String encryptedPassword, java.lang.String enteredPassword)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

crypt

public static final java.lang.String crypt(java.lang.String original)

crypt

public static final java.lang.String crypt(java.lang.String salt,
                                           java.lang.String original)

matches

public static final boolean matches(java.lang.String encryptedPassword,
                                    java.lang.String enteredPassword)


Copyright © 2000-2005 Apache Software Foundation. All Rights Reserved.