import org.onap.aaf.auth.gui.Table;
import org.onap.aaf.auth.gui.Table.Cells;
import org.onap.aaf.auth.gui.table.AbsCell;
-import org.onap.aaf.auth.gui.table.RefCell;
import org.onap.aaf.auth.gui.table.TableData;
import org.onap.aaf.auth.gui.table.TextCell;
import org.onap.aaf.cadi.CadiException;
*
*/
private static class Model extends TableData<AAF_GUI,AuthzTrans> {
- private static final String CSP_ATT_COM = "@csp.att.com";
private static final String[] headers = new String[] {"Date","User","Memo"};
private Slot name;
private Slot dates;
for (Item i : histItems) {
String user = i.getUser();
- AbsCell userCell = (user.endsWith(CSP_ATT_COM)?
- new RefCell(user,WEBPHONE + user.substring(0,user.indexOf('@')),true):new TextCell(user));
+ AbsCell userCell = new TextCell(user);
+ String memo = i.getMemo().replace("<script>", "<script>").replace("</script>", "</script>");
rv.add(new AbsCell[] {
new TextCell(i.getTimestamp().toGregorianCalendar().getTime().toString()),
userCell,
- new TextCell(i.getMemo())
+ new TextCell(memo)
});
}
} finally {