change to hashmap to allow values to be added
This commit is contained in:
Scott Battaglia 2012-07-24 22:39:06 -04:00
parent eadf300985
commit 3816e29861
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ public class Cas20ServiceTicketValidator extends AbstractCasProtocolUrlBasedTick
protected Map<String,Object> extractCustomAttributes(final String xml) {
if (!xml.contains("<cas:attributes>")) {
return Collections.emptyMap();
return new HashMap<String, Object>();
}
final Map<String, Object> attributes = new HashMap<String, Object>();