For the latest news and information visit
The GNU Crypto project

gnu.crypto.sasl.plain
Class PasswordFile

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

public class PasswordFile
extends Object

A representation of a Plain password file.

Version:
$Revision: 1.2 $

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.