if (!this.getAttributes().containsKey(attr)) { throw new AttributeNotFoundException("attribute not found: " + attr);
String val = null; try { Attribute a = (Attribute) this._getAttributes().get(attr); PrivilegeResolver.getInstance().canPrivDispatch( this.s, this, this.s.getSubject(), a.getField().getReadPriv() ); val = a.getValue();
  public String getAttribute(String attr)     throws AttributeNotFoundException  {    if (!this.getAttributes().containsKey(attr)) {      throw new AttributeNotFoundException("attribute not found: " + attr);      }    return (String) this.getAttributes().get(attr);  } // public String getAttribute(attr)