cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject git commit: Fixing build
Date Thu, 04 Sep 2014 19:35:24 GMT
Repository: cxf-fediz
Updated Branches:
  refs/heads/1.1.x-fixes 6c8b46d70 -> 3f0cb5be4


Fixing build


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

Branch: refs/heads/1.1.x-fixes
Commit: 3f0cb5be457242961cfa91087a9c7eefeb40f221
Parents: 6c8b46d
Author: Colm O hEigeartaigh <coheigea@apache.org>
Authored: Thu Sep 4 20:35:12 2014 +0100
Committer: Colm O hEigeartaigh <coheigea@apache.org>
Committed: Thu Sep 4 20:35:12 2014 +0100

----------------------------------------------------------------------
 .../service/idp/kerberos/KerberosTokenValidator.java     | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf-fediz/blob/3f0cb5be/services/idp/src/main/java/org/apache/cxf/fediz/service/idp/kerberos/KerberosTokenValidator.java
----------------------------------------------------------------------
diff --git a/services/idp/src/main/java/org/apache/cxf/fediz/service/idp/kerberos/KerberosTokenValidator.java
b/services/idp/src/main/java/org/apache/cxf/fediz/service/idp/kerberos/KerberosTokenValidator.java
index ae32a40..ffbf643 100644
--- a/services/idp/src/main/java/org/apache/cxf/fediz/service/idp/kerberos/KerberosTokenValidator.java
+++ b/services/idp/src/main/java/org/apache/cxf/fediz/service/idp/kerberos/KerberosTokenValidator.java
@@ -43,6 +43,7 @@ public class KerberosTokenValidator {
     private CallbackHandler callbackHandler;
     private String contextName;
     private boolean usernameServiceNameForm;
+    private boolean spnego;
 
     /**
      * Get the JAAS Login context name to use.
@@ -133,7 +134,7 @@ public class KerberosTokenValidator {
 
         // Validate the ticket
         KerberosServiceExceptionAction action = 
-            new KerberosServiceExceptionAction(token.getToken(), service, isUsernameServiceNameForm());
+            new KerberosServiceExceptionAction(token.getToken(), service, isUsernameServiceNameForm(),
spnego);
         KerberosServiceContext krbServiceCtx = Subject.doAs(subject, action);
 
         if (LOG.isDebugEnabled()) {
@@ -172,4 +173,12 @@ public class KerberosTokenValidator {
     public void setUsernameServiceNameForm(boolean isUsernameServiceNameForm) {
         this.usernameServiceNameForm = isUsernameServiceNameForm;
     }
+
+    public boolean isSpnego() {
+        return spnego;
+    }
+
+    public void setSpnego(boolean spnego) {
+        this.spnego = spnego;
+    }
 }


Mime
View raw message