FileDocCategorySizeDatePackage
XYZFileScope.javaAPI DocExample2991Mon Jan 15 13:18:36 GMT 2001javasec.samples.appc

XYZFileScope

public class XYZFileScope extends IdentityScope

Fields Summary
private Hashtable
ids
private static String
fname
Constructors Summary
public XYZFileScope(String fname)

        super("XYZFileScope");
        this.fname = fname;
        try {
            FileInputStream fis = new FileInputStream(fname);
            ObjectInputStream ois = new ObjectInputStream(fis);
            ids = (Hashtable) ois.readObject();
        } catch (FileNotFoundException fnfe) {
            ids = new Hashtable();
        } catch (Exception e) {
            throw new KeyManagementException(
                        "Can