For the latest news and information visit
The GNU Crypto project

gnu.crypto.sasl.plain
Class PasswordFile

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

public class PasswordFile
extends java.lang.Object

A representation of a Plain password file.

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.