gnu.crypto.sasl.plain
Class PasswordFile
java.lang.Object
gnu.crypto.sasl.plain.PasswordFile
- public class PasswordFile
- extends Object
A representation of a Plain password file.
- Version:
- $Revision: 1.2 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PasswordFile
public PasswordFile()
throws IOException
PasswordFile
public PasswordFile(File pwFile)
throws IOException
PasswordFile
public PasswordFile(String fileName)
throws IOException
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
Copyright © 2001, 2002, 2003
Free Software Foundation,
Inc. All Rights Reserved.