Author: markt Date: Fri Apr 1 11:23:54 2011 New Revision: 1087652 URL: http://svn.apache.org/viewvc?rev=1087652&view=rev Log: Better name
Modified: tomcat/trunk/java/org/apache/catalina/realm/RealmBase.java tomcat/trunk/webapps/docs/config/realm.xml Modified: tomcat/trunk/java/org/apache/catalina/realm/RealmBase.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/realm/RealmBase.java?rev=1087652&r1=1087651&r2=1087652&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/catalina/realm/RealmBase.java (original) +++ tomcat/trunk/java/org/apache/catalina/realm/RealmBase.java Fri Apr 1 11:23:54 2011 @@ -155,7 +155,7 @@ public abstract class RealmBase extends * When processing users authenticated via the GSS-API, should any * "@..." be stripped from the end of the user name? */ - protected boolean stripAtForGss = true; + protected boolean stripRealmForGss = true; // ------------------------------------------------------------- Properties @@ -279,13 +279,13 @@ public abstract class RealmBase extends } - public boolean isStripAtForGss() { - return stripAtForGss; + public boolean isStripRealmForGss() { + return stripRealmForGss; } - public void setStripAtForGss(boolean stripAtForGss) { - this.stripAtForGss = stripAtForGss; + public void setStripRealmForGss(boolean stripRealmForGss) { + this.stripRealmForGss = stripRealmForGss; } @@ -454,7 +454,7 @@ public abstract class RealmBase extends if (gssName!= null) { String name = gssName.toString(); - if (isStripAtForGss()) { + if (isStripRealmForGss()) { int i = name.indexOf('@'); if (i > 0) { // Zero so we don;t leave a zero length name Modified: tomcat/trunk/webapps/docs/config/realm.xml URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/config/realm.xml?rev=1087652&r1=1087651&r2=1087652&view=diff ============================================================================== --- tomcat/trunk/webapps/docs/config/realm.xml (original) +++ tomcat/trunk/webapps/docs/config/realm.xml Fri Apr 1 11:23:54 2011 @@ -143,7 +143,7 @@ a role name assigned to the corresponding user.</p> </attribute> - <attribute name="stripAtForGss" required="false"> + <attribute name="stripRealmForGss" required="false"> <p>When processing users authenticated via the GSS-API, this attribute controls if any "@..." is removed from the end of the user name. If not specified, the default is <code>true</code>.</p> @@ -230,7 +230,7 @@ a role name assigned to the corresponding user.</p> </attribute> - <attribute name="stripAtForGss" required="false"> + <attribute name="stripRealmForGss" required="false"> <p>When processing users authenticated via the GSS-API, this attribute controls if any "@..." is removed from the end of the user name. If not specified, the default is <code>true</code>.</p> @@ -451,7 +451,7 @@ <code>0</code> is used which indicates no limit.</p> </attribute> - <attribute name="stripAtForGss" required="false"> + <attribute name="stripRealmForGss" required="false"> <p>When processing users authenticated via the GSS-API, this attribute controls if any "@..." is removed from the end of the user name. If not specified, the default is <code>true</code>.</p> @@ -597,7 +597,7 @@ default value is <code>conf/tomcat-users.xml</code>.</p> </attribute> - <attribute name="stripAtForGss" required="false"> + <attribute name="stripRealmForGss" required="false"> <p>When processing users authenticated via the GSS-API, this attribute controls if any "@..." is removed from the end of the user name. If not specified, the default is <code>true</code>.</p> @@ -672,7 +672,7 @@ for your role <code>Principals</code>.</p> </attribute> - <attribute name="stripAtForGss" required="false"> + <attribute name="stripRealmForGss" required="false"> <p>When processing users authenticated via the GSS-API, this attribute controls if any "@..." is removed from the end of the user name. If not specified, the default is <code>true</code>.</p> --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org