[GitHub] [tomcat] cklein05 commented on a change in pull request #428: Enhancement: Additional user attributes queried by (some) realms

2021-06-21 Thread GitBox
cklein05 commented on a change in pull request #428: URL: https://github.com/apache/tomcat/pull/428#discussion_r655088342 ## File path: java/org/apache/catalina/realm/DataSourceRealm.java ## @@ -539,6 +612,162 @@ private boolean isRoleStoreDefined() { } +/** +

[Bug 65390] Problem in the code generated by jasper

2021-06-21 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=65390 --- Comment #6 from Mark Thomas --- Just following up in this as we'd really like to catch regressions like this in the ~3 working day window between the release candidate being available and the release vote concluding. It is great that you

[Bug 65387] JSP compile error after upgrade 10.0.6 -> 10.0.7

2021-06-21 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=65387 --- Comment #18 from Mark Thomas --- Just following up in this as we'd really like to catch regressions like this in the ~3 working day window between the release candidate being available and the release vote concluding. It is great that you

JSP regressions - do we need a new set of releases

2021-06-21 Thread Mark Thomas
All, Despite the extra tests I added to improve code coverage to almost 100% for JSP code generation, the changes I made to remove unnecessary code have triggered a couple of regressions. There is no easy way to avoid these regressions. Given the above do we want to pull forward the July

[GitHub] [tomcat] rmaucher commented on pull request #428: Enhancement: Additional user attributes queried by (some) realms

2021-06-21 Thread GitBox
rmaucher commented on pull request #428: URL: https://github.com/apache/tomcat/pull/428#issuecomment-865007741 This looks good enough to put it in. I can probably think about enhancements late. The only thing that I'm really wondering about is why the UserDatabaseRealm did not get

[GitHub] [tomcat] cklein05 commented on pull request #428: Enhancement: Additional user attributes queried by (some) realms

2021-06-21 Thread GitBox
cklein05 commented on pull request #428: URL: https://github.com/apache/tomcat/pull/428#issuecomment-865024538 > The only thing that I'm really wondering about is why the UserDatabaseRealm did not get arbitrary attributes. My first focus was on UserDatabaseRealm and JDNIRealm.

Re: JSP regressions - do we need a new set of releases

2021-06-21 Thread Rémy Maucherat
On Mon, Jun 21, 2021 at 12:17 PM Mark Thomas wrote: > > All, > > Despite the extra tests I added to improve code coverage to almost 100% > for JSP code generation, the changes I made to remove unnecessary code > have triggered a couple of regressions. There is no easy way to avoid > these

[Bug 65390] Problem in the code generated by jasper

2021-06-21 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=65390 --- Comment #7 from tk...@ai-ag.de --- Hallo Mark, first I’d like to thank you for your very fast response on our bug report :) We use tomcat-embedded and pull it from a maven repository. If you made your release candidates available via a

[GitHub] [tomcat] cklein05 commented on pull request #428: Enhancement: Additional user attributes queried by (some) realms

2021-06-21 Thread GitBox
cklein05 commented on pull request #428: URL: https://github.com/apache/tomcat/pull/428#issuecomment-865053410 Please, wait at least until I've pushed my latest changes. Also, JDBC stuff in DataSourceRealm needs some adjustments in order not to put arbitrary `java.sql` objects into the

[GitHub] [tomcat] rmaucher commented on pull request #428: Enhancement: Additional user attributes queried by (some) realms

2021-06-21 Thread GitBox
rmaucher commented on pull request #428: URL: https://github.com/apache/tomcat/pull/428#issuecomment-865049209 No, the Tomcat project is not responsible for Jakarta and has no control over it, so we cannot make that change. I'm perfectly fine as it is, you're not supposed to do

[tomcat] branch main updated (98d61c1 -> 2b92581)

2021-06-21 Thread markt
This is an automated email from the ASF dual-hosted git repository. markt pushed a change to branch main in repository https://gitbox.apache.org/repos/asf/tomcat.git. from 98d61c1 Fix typos new fa24edd Improve French translations (remm) new 2b92581 Improvements to Korean

[tomcat] 01/02: Improve French translations (remm)

2021-06-21 Thread markt
This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/tomcat.git commit fa24eddfc49cc2e19b4cd4606a4eb3b7d55fed98 Author: Mark Thomas AuthorDate: Mon Jun 21 17:34:12 2021 +0100 Improve

[tomcat] 02/02: Improvements to Korean translations. (woonsan)

2021-06-21 Thread markt
This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/tomcat.git commit 2b925814e6af699d4ea6f740d408310389fee03a Author: Mark Thomas AuthorDate: Mon Jun 21 17:37:50 2021 +0100 Improvements

[tomcat] branch 10.0.x updated: Make fields accessible to sub-classes of JNDIRealm

2021-06-21 Thread markt
This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch 10.0.x in repository https://gitbox.apache.org/repos/asf/tomcat.git The following commit(s) were added to refs/heads/10.0.x by this push: new b651945 Make fields accessible to sub-classes

[tomcat] branch 9.0.x updated: Make fields accessible to sub-classes of JNDIRealm

2021-06-21 Thread markt
This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch 9.0.x in repository https://gitbox.apache.org/repos/asf/tomcat.git The following commit(s) were added to refs/heads/9.0.x by this push: new 86b9958 Make fields accessible to sub-classes of

[tomcat] branch main updated (2b92581 -> e40d778)

2021-06-21 Thread markt
This is an automated email from the ASF dual-hosted git repository. markt pushed a change to branch main in repository https://gitbox.apache.org/repos/asf/tomcat.git. from 2b92581 Improvements to Korean translations. (woonsan) add e40d778 Make fields accessible to sub-classes of

svn commit: r48451 - /release/tomcat/tomcat-9/v9.0.46/

2021-06-21 Thread markt
Author: markt Date: Mon Jun 21 16:14:49 2021 New Revision: 48451 Log: Drop Apache Tomcat 9.0.46 from mirror system Removed: release/tomcat/tomcat-9/v9.0.46/ - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For

svn commit: r48450 - /release/tomcat/tomcat-10/v10.0.6/

2021-06-21 Thread markt
Author: markt Date: Mon Jun 21 16:14:14 2021 New Revision: 48450 Log: Drop Apache Tomcat 10.0.6 from mirror system Removed: release/tomcat/tomcat-10/v10.0.6/ - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For

Re: JSP regressions - do we need a new set of releases

2021-06-21 Thread Mark Thomas
On 21/06/2021 14:16, Rémy Maucherat wrote: On Mon, Jun 21, 2021 at 12:17 PM Mark Thomas wrote: All, Despite the extra tests I added to improve code coverage to almost 100% for JSP code generation, the changes I made to remove unnecessary code have triggered a couple of regressions. There is

[GitHub] [tomcat] cklein05 commented on a change in pull request #428: Enhancement: Additional user attributes queried by (some) realms

2021-06-21 Thread GitBox
cklein05 commented on a change in pull request #428: URL: https://github.com/apache/tomcat/pull/428#discussion_r655202844 ## File path: java/org/apache/catalina/realm/GenericPrincipal.java ## @@ -304,10 +333,165 @@ public void logout() throws Exception { } +

[GitHub] [tomcat] michael-o commented on a change in pull request #428: Enhancement: Additional user attributes queried by (some) realms

2021-06-21 Thread GitBox
michael-o commented on a change in pull request #428: URL: https://github.com/apache/tomcat/pull/428#discussion_r655204617 ## File path: java/org/apache/catalina/realm/DataSourceRealm.java ## @@ -539,6 +612,162 @@ private boolean isRoleStoreDefined() { } +/** +

[GitHub] [tomcat] cklein05 commented on pull request #428: Enhancement: Additional user attributes queried by (some) realms

2021-06-21 Thread GitBox
cklein05 commented on pull request #428: URL: https://github.com/apache/tomcat/pull/428#issuecomment-864868657 > So you basically want to protect the admin/developer to shoot in the foot? Yes, as it may hurt badly. Also, only these _denied attributes_ makes using the (otherwise

[GitHub] [tomcat] cklein05 commented on a change in pull request #428: Enhancement: Additional user attributes queried by (some) realms

2021-06-21 Thread GitBox
cklein05 commented on a change in pull request #428: URL: https://github.com/apache/tomcat/pull/428#discussion_r655222693 ## File path: java/org/apache/catalina/realm/DataSourceRealm.java ## @@ -539,6 +612,162 @@ private boolean isRoleStoreDefined() { } +/** +

[GitHub] [tomcat] cklein05 commented on a change in pull request #428: Enhancement: Additional user attributes queried by (some) realms

2021-06-21 Thread GitBox
cklein05 commented on a change in pull request #428: URL: https://github.com/apache/tomcat/pull/428#discussion_r655222693 ## File path: java/org/apache/catalina/realm/DataSourceRealm.java ## @@ -539,6 +612,162 @@ private boolean isRoleStoreDefined() { } +/** +

[GitHub] [tomcat] michael-o commented on a change in pull request #428: Enhancement: Additional user attributes queried by (some) realms

2021-06-21 Thread GitBox
michael-o commented on a change in pull request #428: URL: https://github.com/apache/tomcat/pull/428#discussion_r655234294 ## File path: java/org/apache/catalina/realm/DataSourceRealm.java ## @@ -539,6 +612,162 @@ private boolean isRoleStoreDefined() { } +/** +

[GitHub] [tomcat] cklein05 commented on a change in pull request #428: Enhancement: Additional user attributes queried by (some) realms

2021-06-21 Thread GitBox
cklein05 commented on a change in pull request #428: URL: https://github.com/apache/tomcat/pull/428#discussion_r655239478 ## File path: java/org/apache/catalina/realm/DataSourceRealm.java ## @@ -539,6 +612,162 @@ private boolean isRoleStoreDefined() { } +/** +

[GitHub] [tomcat] michael-o commented on a change in pull request #428: Enhancement: Additional user attributes queried by (some) realms

2021-06-21 Thread GitBox
michael-o commented on a change in pull request #428: URL: https://github.com/apache/tomcat/pull/428#discussion_r655173166 ## File path: java/org/apache/catalina/realm/DataSourceRealm.java ## @@ -539,6 +612,162 @@ private boolean isRoleStoreDefined() { } +/** +

[GitHub] [tomcat] michael-o commented on a change in pull request #428: Enhancement: Additional user attributes queried by (some) realms

2021-06-21 Thread GitBox
michael-o commented on a change in pull request #428: URL: https://github.com/apache/tomcat/pull/428#discussion_r655173373 ## File path: java/org/apache/catalina/realm/JNDIRealm.java ## @@ -469,6 +474,19 @@ */ protected boolean useContextClassLoader = true; +

[GitHub] [tomcat] michael-o commented on a change in pull request #428: Enhancement: Additional user attributes queried by (some) realms

2021-06-21 Thread GitBox
michael-o commented on a change in pull request #428: URL: https://github.com/apache/tomcat/pull/428#discussion_r655174381 ## File path: java/org/apache/catalina/realm/DataSourceRealm.java ## @@ -539,6 +612,162 @@ private boolean isRoleStoreDefined() { } +/** +

[GitHub] [tomcat] michael-o commented on pull request #428: Enhancement: Additional user attributes queried by (some) realms

2021-06-21 Thread GitBox
michael-o commented on pull request #428: URL: https://github.com/apache/tomcat/pull/428#issuecomment-864846238 > > > > Can you please explain the purpose of the `deniedAttributes`? Why is it necessary, what is the usecase for? > > _Denied Attributes_ is the internal term of

[GitHub] [tomcat] cklein05 commented on a change in pull request #428: Enhancement: Additional user attributes queried by (some) realms

2021-06-21 Thread GitBox
cklein05 commented on a change in pull request #428: URL: https://github.com/apache/tomcat/pull/428#discussion_r655190479 ## File path: java/org/apache/catalina/realm/DataSourceRealm.java ## @@ -539,6 +612,162 @@ private boolean isRoleStoreDefined() { } +/** +

[GitHub] [tomcat] cklein05 commented on a change in pull request #428: Enhancement: Additional user attributes queried by (some) realms

2021-06-21 Thread GitBox
cklein05 commented on a change in pull request #428: URL: https://github.com/apache/tomcat/pull/428#discussion_r655192559 ## File path: java/org/apache/catalina/realm/DataSourceRealm.java ## @@ -572,6 +801,21 @@ protected void startInternal() throws LifecycleException {

[GitHub] [tomcat] michael-o commented on a change in pull request #428: Enhancement: Additional user attributes queried by (some) realms

2021-06-21 Thread GitBox
michael-o commented on a change in pull request #428: URL: https://github.com/apache/tomcat/pull/428#discussion_r655175314 ## File path: java/org/apache/catalina/realm/DataSourceRealm.java ## @@ -572,6 +801,21 @@ protected void startInternal() throws LifecycleException {

[GitHub] [tomcat] michael-o commented on a change in pull request #428: Enhancement: Additional user attributes queried by (some) realms

2021-06-21 Thread GitBox
michael-o commented on a change in pull request #428: URL: https://github.com/apache/tomcat/pull/428#discussion_r655176832 ## File path: java/org/apache/catalina/realm/DataSourceRealm.java ## @@ -539,6 +612,162 @@ private boolean isRoleStoreDefined() { } +/** +

[GitHub] [tomcat] michael-o commented on a change in pull request #428: Enhancement: Additional user attributes queried by (some) realms

2021-06-21 Thread GitBox
michael-o commented on a change in pull request #428: URL: https://github.com/apache/tomcat/pull/428#discussion_r655177819 ## File path: java/org/apache/catalina/realm/DataSourceRealm.java ## @@ -539,6 +612,162 @@ private boolean isRoleStoreDefined() { } +/** +

[GitHub] [tomcat] michael-o commented on a change in pull request #428: Enhancement: Additional user attributes queried by (some) realms

2021-06-21 Thread GitBox
michael-o commented on a change in pull request #428: URL: https://github.com/apache/tomcat/pull/428#discussion_r655178151 ## File path: java/org/apache/catalina/TomcatPrincipal.java ## @@ -47,4 +48,58 @@ * exception to LoginContext */ void

[GitHub] [tomcat] michael-o commented on a change in pull request #428: Enhancement: Additional user attributes queried by (some) realms

2021-06-21 Thread GitBox
michael-o commented on a change in pull request #428: URL: https://github.com/apache/tomcat/pull/428#discussion_r655182143 ## File path: java/org/apache/catalina/realm/DataSourceRealm.java ## @@ -539,6 +612,162 @@ private boolean isRoleStoreDefined() { } +/** +

[GitHub] [tomcat] michael-o edited a comment on pull request #428: Enhancement: Additional user attributes queried by (some) realms

2021-06-21 Thread GitBox
michael-o edited a comment on pull request #428: URL: https://github.com/apache/tomcat/pull/428#issuecomment-864846238 > > > > Can you please explain the purpose of the `deniedAttributes`? Why is it necessary, what is the usecase for? > > _Denied Attributes_ is the internal

[GitHub] [tomcat] cklein05 commented on a change in pull request #428: Enhancement: Additional user attributes queried by (some) realms

2021-06-21 Thread GitBox
cklein05 commented on a change in pull request #428: URL: https://github.com/apache/tomcat/pull/428#discussion_r655188601 ## File path: java/org/apache/catalina/realm/DataSourceRealm.java ## @@ -539,6 +612,162 @@ private boolean isRoleStoreDefined() { } +/** +