gnu.crypto.sasl.crammd5
Class PasswordFile
java.lang.Object
gnu.crypto.sasl.crammd5.PasswordFile
- public class PasswordFile
- extends java.lang.Object
The CRAM-MD5 password file representation.
- Version:
- $Revision: 1.2 $
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 |
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
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
Copyright © 2001, 2002, 2003
Free Software Foundation,
Inc. All Rights Reserved.