[java-identity-provider COMMIT] in /trunk/idp-profile-api/src/main/java/net/shibboleth/idp/profile/context/navigate: ...

noreply at shibboleth.net noreply at shibboleth.net
Wed Jul 6 11:08:42 EDT 2016


Author: scantor
Date: Wed Jul  6 11:08:41 2016
New Revision: 8281

URL: http://svn.shibboleth.net/view/java-identity-provider?rev=8281&view=rev
Log:
Add a SpEL-based context lookup function.

Added:
    trunk/idp-profile-api/src/main/java/net/shibboleth/idp/profile/context/navigate/SpringExpressionContextLookupFunction.java   (with props)
Modified:
    trunk/idp-profile-api/src/main/java/net/shibboleth/idp/profile/context/navigate/ScriptedContextLookupFunction.java

Modified: trunk/idp-profile-api/src/main/java/net/shibboleth/idp/profile/context/navigate/ScriptedContextLookupFunction.java
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-profile-api/src/main/java/net/shibboleth/idp/profile/context/navigate/ScriptedContextLookupFunction.java?rev=8281&r1=8280&r2=8281&view=diff
==============================================================================
--- trunk/idp-profile-api/src/main/java/net/shibboleth/idp/profile/context/navigate/ScriptedContextLookupFunction.java	(original)
+++ trunk/idp-profile-api/src/main/java/net/shibboleth/idp/profile/context/navigate/ScriptedContextLookupFunction.java	Wed Jul  6 11:08:41 2016
@@ -134,7 +134,9 @@
         }
 
         final SimpleScriptContext scriptContext = new SimpleScriptContext();
+        // We don't actually know that the context is a PRC, but we'll keep this for compatibility.
         scriptContext.setAttribute("profileContext", context, ScriptContext.ENGINE_SCOPE);
+        scriptContext.setAttribute("context", context, ScriptContext.ENGINE_SCOPE);
         scriptContext.setAttribute("custom", getCustomObject(), ScriptContext.ENGINE_SCOPE);
 
         try {



More information about the commits mailing list