Yes the attributes are referenced as |attribute|, so when you use the getAttribute put the attribute name between || .
Send you a javascript function that can help you to know which attributes does your task has. You will see the logical attributes between ||
function handleSetSubject(BlthContext, errorMessage) {
java.lang.System.out.println("BLTH.... handle validation");
usuario = BlthContext.getSubject();
at = usuario.getAttributes();
java.lang.System.out.println("hay "+at.size()+" atributos");
keys = at.keys();
while (keys.hasMoreElements()) {
atname = keys.nextElement().toString();
value= at.get(atname);
java.lang.System.out.println("........."+atname+":"+value);
}
return true;
}
regards