cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbernha...@apache.org
Subject [2/2] cxf git commit: [CXF-6345] Support Logging in JexlClaimMapper scripts
Date Fri, 10 Apr 2015 12:59:39 GMT
[CXF-6345] Support Logging in JexlClaimMapper scripts


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/9f18da88
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/9f18da88
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/9f18da88

Branch: refs/heads/master
Commit: 9f18da888e37f203b1aa9a3240ed7b6aab3a4ef9
Parents: a69d3b3
Author: Jan Bernhardt <jbernhardt@talend.com>
Authored: Fri Apr 10 14:56:15 2015 +0200
Committer: Jan Bernhardt <jbernhardt@talend.com>
Committed: Fri Apr 10 14:56:15 2015 +0200

----------------------------------------------------------------------
 .../java/org/apache/cxf/sts/claims/mapper/JexlClaimsMapper.java     | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/9f18da88/services/sts/sts-core/src/main/java/org/apache/cxf/sts/claims/mapper/JexlClaimsMapper.java
----------------------------------------------------------------------
diff --git a/services/sts/sts-core/src/main/java/org/apache/cxf/sts/claims/mapper/JexlClaimsMapper.java
b/services/sts/sts-core/src/main/java/org/apache/cxf/sts/claims/mapper/JexlClaimsMapper.java
index ba4bb14..8faffcb 100644
--- a/services/sts/sts-core/src/main/java/org/apache/cxf/sts/claims/mapper/JexlClaimsMapper.java
+++ b/services/sts/sts-core/src/main/java/org/apache/cxf/sts/claims/mapper/JexlClaimsMapper.java
@@ -50,6 +50,7 @@ public class JexlClaimsMapper implements ClaimsMapper {
 
         Map<String, Object> functions = new HashMap<>();
         functions.put("claims", new ClaimUtils());
+        functions.put("LOG", LOG);
         jexlEngine.setFunctions(functions);
     }
 


Mime
View raw message