cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject [1/2] cxf-fediz git commit: Updating FedizSubjectCreator
Date Tue, 09 Feb 2016 12:24:45 GMT
Repository: cxf-fediz
Updated Branches:
  refs/heads/master c535a50a2 -> 5ee1964ab


Updating FedizSubjectCreator


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

Branch: refs/heads/master
Commit: 0a4641efa8e0315ab7d4ef2f48933427c18246a4
Parents: 6e1c0dd
Author: Sergey Beryozkin <sberyozkin@gmail.com>
Authored: Tue Feb 9 12:24:06 2016 +0000
Committer: Sergey Beryozkin <sberyozkin@gmail.com>
Committed: Tue Feb 9 12:24:06 2016 +0000

----------------------------------------------------------------------
 .../org/apache/cxf/fediz/service/oidc/FedizSubjectCreator.java | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf-fediz/blob/0a4641ef/services/oidc/src/main/java/org/apache/cxf/fediz/service/oidc/FedizSubjectCreator.java
----------------------------------------------------------------------
diff --git a/services/oidc/src/main/java/org/apache/cxf/fediz/service/oidc/FedizSubjectCreator.java
b/services/oidc/src/main/java/org/apache/cxf/fediz/service/oidc/FedizSubjectCreator.java
index 4502816..fb4ecb6 100644
--- a/services/oidc/src/main/java/org/apache/cxf/fediz/service/oidc/FedizSubjectCreator.java
+++ b/services/oidc/src/main/java/org/apache/cxf/fediz/service/oidc/FedizSubjectCreator.java
@@ -20,6 +20,8 @@ package org.apache.cxf.fediz.service.oidc;
 
 import java.security.Principal;
 
+import javax.ws.rs.core.MultivaluedMap;
+
 import org.w3c.dom.Element;
 
 import org.apache.cxf.fediz.core.Claim;
@@ -47,7 +49,9 @@ public class FedizSubjectCreator implements SubjectCreator {
     
     
     @Override
-    public UserSubject createUserSubject(MessageContext mc, Client client) throws OAuthServiceException
{
+    public UserSubject createUserSubject(MessageContext mc, 
+                                         Client client,
+                                         MultivaluedMap<String, String> params) throws
OAuthServiceException {
         Principal principal = mc.getSecurityContext().getUserPrincipal();
         
         if (!(principal instanceof FedizPrincipal)) {


Mime
View raw message