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 2013/11/17 23:02:18 UTC
svn commit: r1542845 - in /tomcat/trunk:
java/org/apache/catalina/realm/JNDIRealm.java webapps/docs/config/realm.xml
Author: markt
Date: Sun Nov 17 22:02:18 2013
New Revision: 1542845
URL: http://svn.apache.org/r1542845
Log:
Fix typo in new attribute name
Modified:
tomcat/trunk/java/org/apache/catalina/realm/JNDIRealm.java
tomcat/trunk/webapps/docs/config/realm.xml
Modified: tomcat/trunk/java/org/apache/catalina/realm/JNDIRealm.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/realm/JNDIRealm.java?rev=1542845&r1=1542844&r2=1542845&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/realm/JNDIRealm.java (original)
+++ tomcat/trunk/java/org/apache/catalina/realm/JNDIRealm.java Sun Nov 17 22:02:18 2013
@@ -433,7 +433,7 @@ public class JNDIRealm extends RealmBase
* <code>javax.security.sasl.qop</code> environment property for the LDAP
* connection.
*/
- protected String spengoDelegationQop = "auth-conf";
+ protected String spnegoDelegationQop = "auth-conf";
// ------------------------------------------------------------- Properties
@@ -997,12 +997,12 @@ public class JNDIRealm extends RealmBase
}
- public String getSpengoDelegationQop() {
- return spengoDelegationQop;
+ public String getSpnegoDelegationQop() {
+ return spnegoDelegationQop;
}
- public void setSpengoDelegationQop(String spengoDelegationQop) {
- this.spengoDelegationQop = spengoDelegationQop;
+ public void setSpnegoDelegationQop(String spnegoDelegationQop) {
+ this.spnegoDelegationQop = spnegoDelegationQop;
}
@@ -2078,7 +2078,7 @@ public class JNDIRealm extends RealmBase
context.addToEnvironment(
"javax.security.sasl.server.authentication", "true");
context.addToEnvironment(
- "javax.security.sasl.qop", spengoDelegationQop);
+ "javax.security.sasl.qop", spnegoDelegationQop);
// Note: Subject already set in SPNEGO authenticator so no need
// for Subject.doAs() here
}
Modified: tomcat/trunk/webapps/docs/config/realm.xml
URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/config/realm.xml?rev=1542845&r1=1542844&r2=1542845&view=diff
==============================================================================
--- tomcat/trunk/webapps/docs/config/realm.xml (original)
+++ tomcat/trunk/webapps/docs/config/realm.xml Sun Nov 17 22:02:18 2013
@@ -551,7 +551,7 @@
<code>0</code> is used which indicates no limit.</p>
</attribute>
- <attribute mame="spengoDelegationQop" requireed="false">
+ <attribute mame="spnegoDelegationQop" requireed="false">
<p>When the JNDI Realm is used with the SPNEGO authenticator and
<code>useDelegatedCredential</code> is <code>true</code> this attribute
controls the QOP that should be used for the connection to the LDAP
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org