FileDocCategorySizeDatePackage
RuntimeSecurityMap.javaAPI DocGlassfish v2 API3192Fri May 04 22:34:24 BST 2007com.sun.enterprise.connectors.authentication

RuntimeSecurityMap

public class RuntimeSecurityMap extends Object
author
ko133006

Fields Summary
private HashMap
userMap
private HashMap
groupMap
Constructors Summary
public RuntimeSecurityMap()

        this.userMap = new HashMap();
        this.groupMap = new HashMap();
    
public RuntimeSecurityMap(HashMap userMap, HashMap groupMap)

        this.userMap = (HashMap) userMap.clone();
        this.groupMap = (HashMap) groupMap.clone();
    
Methods Summary
public booleanequals(com.sun.enterprise.connectors.authentication.RuntimeSecurityMap map)

        if (!(map.userMap.equals(this.userMap)))
            return false;
        else if (!(map.groupMap.equals(this.groupMap)))
            return false;
        else
            return true;
    
public java.util.HashMapgetGroupMap()

        return (HashMap) ((this.groupMap).clone());
    
public java.util.HashMapgetUserMap()

        return (HashMap) ((this.userMap).clone());
    
public booleanisEmpty()

        if ((this.userMap.size() == 0) && (this.groupMap.size() == 0))
            return true;
        else
            return false;
    
public java.lang.StringtoString()

        StringBuffer sb = new StringBuffer();
        // implement
        return sb.toString();