Author: anil.saldhana(a)jboss.com
Date: 2011-05-26 16:28:48 -0400 (Thu, 26 May 2011)
New Revision: 970
Modified:
federation/trunk/picketlink-bindings-jboss/src/main/java/org/picketlink/identity/federation/bindings/jboss/auth/SAML2STSLoginModule.java
Log:
add the jndi jaas prefix
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-05-26
20:13:25 UTC (rev 969)
+++
federation/trunk/picketlink-bindings-jboss/src/main/java/org/picketlink/identity/federation/bindings/jboss/auth/SAML2STSLoginModule.java 2011-05-26
20:28:48 UTC (rev 970)
@@ -226,6 +226,9 @@
{
localValidation = Boolean.parseBoolean(localValidationStr);
localValidationSecurityDomain = (String)
options.get("localValidationSecurityDomain");
+
+ if
(localValidationSecurityDomain.startsWith(SecurityConstants.JAAS_CONTEXT_ROOT) == false)
+ localValidationSecurityDomain = SecurityConstants.JAAS_CONTEXT_ROOT +
"/" + localValidationSecurityDomain;
}
}
@@ -532,6 +535,7 @@
try
{
Context ctx = new InitialContext();
+
JaasSecurityDomain sd = (JaasSecurityDomain)
ctx.lookup(localValidationSecurityDomain);
KeyStore ts = sd.getTrustStore();
Show replies by date