Re: Getting additional attributes for logged on users

2021-04-12 Thread Carsten Klein
Hi there, are there other comments on that? I'd like to implement this and want to provide a CR On GitHub, if there is a fair chance, that this enhancement will make it into Tomcat :) Trying to summarize what has been discussed so far: (read the other posts for more information) The basi

Re: Getting additional attributes for logged on users

2021-04-09 Thread Carsten Klein
Hi Olaf, also, I only picked your statements for an answer. On 08.04.21 13:53, Olaf Kock wrote: It would be cool, absolutely. Even cooler if "the desired extra attributes" could be agreed upon - or even what would be desirable in user management (is user + roles enough? That requires redepl

Re: Getting additional attributes for logged on users

2021-04-09 Thread Olaf Kock
Hi Carsten, I'll be limiting my answer to the most notable lines and quote only those. (anybody else reading this without following the mails live: Go to the archive to see Carsten's full post) On 08.04.21 22:08, Carsten Klein wrote: > > Typically, those desired extra attributes are stored in t

Getting additional attributes for logged on users

2021-04-08 Thread Carsten Klein
Hi there, from a servlet, the logged on user is represented by a Principal instance, which has a getName() to get the logon name of that user. In most cases, that is a more or less cryptic name like c.klein or m.scott. Some of our customers like the name of the currently logged on user be di