gnu.crypto.sasl.crammd5

Class 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)

Constructor Details

PasswordFile

public PasswordFile()
            throws IOException

PasswordFile

public PasswordFile(File pwFile)
            throws IOException

PasswordFile

public PasswordFile(String fileName)
            throws IOException

Method Details

add

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

changePasswd

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

contains

public boolean contains(String s)
            throws IOException

lookup

public String[] lookup(String user)
            throws IOException

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