StringBuffer buf = new StringBuffer (LoginModuleControlFlag.class.getName()); buf.append ('.'); if (this == OPTIONAL) buf.append ("OPTIONAL"); else if (this == REQUIRED) buf.append ("REQUIRED"); else if (this == REQUISITE) buf.append ("REQUISITE"); else if (this == SUFFICIENT) buf.append ("SUFFICIENT"); else buf.append ("HARVEY_THE_RABBIT"); return buf.toString();
if (this == LoginModuleControlFlag.REQUIRED) return "REQUIRED"; if (this == LoginModuleControlFlag.REQUISITE) return "REQUISITE"; if (this == LoginModuleControlFlag.SUFFICIENT) return "SUFFICIENT"; if (this == LoginModuleControlFlag.OPTIONAL) return "OPTIONAL"; return "???";
    public String toString()    {      StringBuffer buf = new StringBuffer (LoginModuleControlFlag.class.getName());      buf.append ('.');      if (this == OPTIONAL)        buf.append ("OPTIONAL");      else if (this == REQUIRED)        buf.append ("REQUIRED");      else if (this == REQUISITE)        buf.append ("REQUISITE");      else if (this == SUFFICIENT)        buf.append ("SUFFICIENT");      else        buf.append ("HARVEY_THE_RABBIT");      return buf.toString();    }