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 13:03:47 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/24db3d78
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/24db3d78
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/24db3d78

Branch: refs/heads/3.0.x-fixes
Commit: 24db3d78f0723817d7fd467f30f15c285102b1f7
Parents: ff07a74
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 15:01:01 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/24db3d78/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 fb3ac44..7e9c36f 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<String, Object>();
         functions.put("claims", new ClaimUtils());
+        functions.put("LOG", LOG);
         jexlEngine.setFunctions(functions);
     }
 


Mime
View raw message