You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2011/04/01 13:16:02 UTC
svn commit: r1087651 - in /tomcat/trunk:
java/org/apache/catalina/authenticator/SpnegoAuthenticator.java
webapps/docs/config/valve.xml
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' 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' 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