For the latest news and information visit
The GNU Crypto project

gnu.crypto.sasl.crammd5
Class PasswordFile

java.lang.Object
  extended by gnu.crypto.sasl.crammd5.PasswordFile

public class PasswordFile
extends Object

The CRAM-MD5 password file representation.

Version:
$Revision: 1.3 $

Constructor Summary
PasswordFile()
           
PasswordFile(File pwFile)
           
PasswordFile(String fileName)
           
 
Method Summary
 void add(String user, String passwd, String[] attributes)
           
 void changePasswd(String user, String passwd)
           
 boolean contains(String s)
           
 String[] lookup(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 IOException
Throws:
IOException

PasswordFile

public PasswordFile(File pwFile)
             throws IOException
Throws:
IOException

PasswordFile

public PasswordFile(String fileName)
             throws IOException
Throws:
IOException
Method Detail

add

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

changePasswd

public void changePasswd(String user,
                         String passwd)
                  throws IOException
Throws:
IOException

lookup

public String[] lookup(String user)
                throws IOException
Throws:
IOException

contains

public boolean contains(String s)
                 throws IOException
Throws:
IOException

For the latest news and information visit
The GNU Crypto project

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