tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1087651 - in /tomcat/trunk: java/org/apache/catalina/authenticator/SpnegoAuthenticator.java webapps/docs/config/valve.xml
Date Fri, 01 Apr 2011 11:16:02 GMT
Author: markt
Date: Fri Apr  1 11:16:02 2011
New Revision: 1087651

URL: http://svn.apache.org/viewvc?rev=1087651&view=rev
Log:
Consistent naming

Modified:
    tomcat/trunk/java/org/apache/catalina/authenticator/SpnegoAuthenticator.java
    tomcat/trunk/webapps/docs/config/valve.xml

Modified: tomcat/trunk/java/org/apache/catalina/authenticator/SpnegoAuthenticator.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/authenticator/SpnegoAuthenticator.java?rev=1087651&r1=1087650&r2=1087651&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/authenticator/SpnegoAuthenticator.java (original)
+++ tomcat/trunk/java/org/apache/catalina/authenticator/SpnegoAuthenticator.java Fri Apr 
1 11:16:02 2011
@@ -59,13 +59,13 @@ public class SpnegoAuthenticator extends
         this.loginConfigName = loginConfigName;
     }
 
-    private boolean storeDelegatedCredentials = true;
-    public boolean isStoreDelegatedCredentials() {
-        return storeDelegatedCredentials;
-    }
-    public void setStoreDelegatedCredentials(
-            boolean storeDelegatedCredentials) {
-        this.storeDelegatedCredentials = storeDelegatedCredentials;
+    private boolean storeDelegatedCredential = true;
+    public boolean isStoreDelegatedCredential() {
+        return storeDelegatedCredential;
+    }
+    public void setStoreDelegatedCredential(
+            boolean storeDelegatedCredential) {
+        this.storeDelegatedCredential = storeDelegatedCredential;
     }
 
 
@@ -221,7 +221,7 @@ public class SpnegoAuthenticator extends
             }
 
             principal = context.getRealm().authenticate(gssContext,
-                    storeDelegatedCredentials);
+                    storeDelegatedCredential);
         } catch (GSSException e) {
             if (log.isDebugEnabled()) {
                 log.debug(sm.getString("spnegoAuthenticator.ticketValidateFail",

Modified: tomcat/trunk/webapps/docs/config/valve.xml
URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/config/valve.xml?rev=1087651&r1=1087650&r2=1087651&view=diff
==============================================================================
--- tomcat/trunk/webapps/docs/config/valve.xml (original)
+++ tomcat/trunk/webapps/docs/config/valve.xml Fri Apr  1 11:16:02 2011
@@ -891,9 +891,9 @@
         specified, the platform default provider will be used.</p>
       </attribute>
 
-      <attribute name="storeDelegatedCredentials" required="false">
-        <p>Controls if the user&apos; delegated credentials will be stored in
-        the user Principal. If available, the delegated credentials will be
+      <attribute name="storeDelegatedCredential" required="false">
+        <p>Controls if the user&apos; delegated credential will be stored in
+        the user Principal. If available, the delegated credential will be
         available to applications (e.g. for onward authentication to external
         services) via the <code>org.apache.catalina.realm.GSS_CREDENTIAL</code>
         request attribute.If not set, the default value of <code>true</code>



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message