For the latest news and information visit
The GNU Crypto project

gnu.crypto.sasl.crammd5
Class PasswordFile

java.lang.Object
  extended bygnu.crypto.sasl.crammd5.PasswordFile

public class PasswordFile
extends java.lang.Object

The CRAM-MD5 password file representation.

Version:
$Revision: 1.2 $

Constructor Summary
PasswordFile()
           
PasswordFile(java.io.File pwFile)
           
PasswordFile(java.lang.String fileName)
           
 
Method Summary
 void add(java.lang.String user, java.lang.String passwd, java.lang.String[] attributes)
           
 void changePasswd(java.lang.String user, java.lang.String passwd)
           
 boolean contains(java.lang.String s)
           
 java.lang.String[] lookup(java.lang.String user)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PasswordFile

public PasswordFile()
             throws java.io.IOException

PasswordFile

public PasswordFile(java.io.File pwFile)
             throws java.io.IOException

PasswordFile

public PasswordFile(java.lang.String fileName)
             throws java.io.IOException
Method Detail

add

public void add(java.lang.String user,
                java.lang.String passwd,
                java.lang.String[] attributes)
         throws java.io.IOException
Throws:
java.io.IOException

changePasswd

public void changePasswd(java.lang.String user,
                         java.lang.String passwd)
                  throws java.io.IOException
Throws:
java.io.IOException

lookup

public java.lang.String[] lookup(java.lang.String user)
                          throws java.io.IOException
Throws:
java.io.IOException

contains

public boolean contains(java.lang.String s)
                 throws java.io.IOException
Throws:
java.io.IOException

For the latest news and information visit
The GNU Crypto project

Copyright © 2001, 2002, 2003 Free Software Foundation, Inc. All Rights Reserved.