Author: anil.saldhana(a)jboss.com
Date: 2011-03-22 14:24:27 -0400 (Tue, 22 Mar 2011)
New Revision: 827
Modified:
federation/trunk/picketlink-bindings-jboss/src/main/java/org/picketlink/identity/federation/bindings/jboss/auth/SAML2STSLoginModule.java
Log:
add to local options
Modified:
federation/trunk/picketlink-bindings-jboss/src/main/java/org/picketlink/identity/federation/bindings/jboss/auth/SAML2STSLoginModule.java
===================================================================
---
federation/trunk/picketlink-bindings-jboss/src/main/java/org/picketlink/identity/federation/bindings/jboss/auth/SAML2STSLoginModule.java 2011-03-22
18:23:55 UTC (rev 826)
+++
federation/trunk/picketlink-bindings-jboss/src/main/java/org/picketlink/identity/federation/bindings/jboss/auth/SAML2STSLoginModule.java 2011-03-22
18:24:27 UTC (rev 827)
@@ -23,6 +23,7 @@
import java.security.Principal;
import java.security.acl.Group;
+import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
@@ -124,7 +125,7 @@
protected String groupName = "Roles";
- protected Map<String, ?> options = null;
+ protected Map<String, Object> options = new HashMap<String, Object>();
/*
* (non-Javadoc)
@@ -135,7 +136,7 @@
Map<String, ?> options)
{
super.initialize(subject, callbackHandler, sharedState, options);
- this.options = options;
+ this.options.putAll(options);
// save the config file and cache validation options, removing them from the map -
all remaining properties will
// be set in the request context of the Dispatch instance used to send requests to
the STS.
this.stsConfigurationFile = (String) this.options.remove("configFile");
Show replies by date