Consistent naming
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Fri, 1 Apr 2011 11:16:02 +0000 (11:16 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Fri, 1 Apr 2011 11:16:02 +0000 (11:16 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1087651 13f79535-47bb-0310-9956-ffa450edef68

java/org/apache/catalina/authenticator/SpnegoAuthenticator.java
webapps/docs/config/valve.xml

index e862864..a6389b1 100644 (file)
@@ -59,13 +59,13 @@ public class SpnegoAuthenticator extends AuthenticatorBase {
         this.loginConfigName = loginConfigName;
     }
 
-    private boolean storeDelegatedCredentials = true;
-    public boolean isStoreDelegatedCredentials() {
-        return storeDelegatedCredentials;
+    private boolean storeDelegatedCredential = true;
+    public boolean isStoreDelegatedCredential() {
+        return storeDelegatedCredential;
     }
-    public void setStoreDelegatedCredentials(
-            boolean storeDelegatedCredentials) {
-        this.storeDelegatedCredentials = storeDelegatedCredentials;
+    public void setStoreDelegatedCredential(
+            boolean storeDelegatedCredential) {
+        this.storeDelegatedCredential = storeDelegatedCredential;
     }
 
 
@@ -221,7 +221,7 @@ public class SpnegoAuthenticator extends AuthenticatorBase {
             }
 
             principal = context.getRealm().authenticate(gssContext,
-                    storeDelegatedCredentials);
+                    storeDelegatedCredential);
         } catch (GSSException e) {
             if (log.isDebugEnabled()) {
                 log.debug(sm.getString("spnegoAuthenticator.ticketValidateFail",
index 8cd90ab..bc8add1 100644 (file)
         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>