throws ProcessingException {
if (this.handler == null) {
// this is only a fallback
return EMPTY_MAP;
}
SessionContext context = this.getAuthenticationSessionContext(false);
Map map = (Map)context.getAttribute("cachedmap_" + this.handler.getName());
if (map == null) {
map = new HashMap();
Parameters pars = this.createParameters(null).getFirstParameters();
String[] names = pars.getNames();
if (names != null) {
String key;
String value;
for(int i=0;i<names.length;i++) {
key = names[i];
value = pars.getParameter(key, null);
if (value != null) map.put(key, value);
}
}
context.setAttribute("cachedmap_" + this.handler.getName(), map);
}
return map;
}