cklein05 commented on pull request #428: URL: https://github.com/apache/tomcat/pull/428#issuecomment-918959000
The JSP example application under `/examples/jsp/security/protected` already lists available user attributes (if any). In order to make that work _out of the box_ with a freshly installed Tomcat, we should consider to add some more attributes to the user entries in `tomcat-users.xml` intended for use with the example applications. My suggestion is the `fullName` attribute as well as a new one like `roomNumber` or `phone`. In order to make the example application get these attributes, we should as well consider adding the new `userAttributes` attribute to the `UserDatabaseRealm`'s configuration (likely it's best to use the * wildcard character in that case). Otherwise, these steps should be described in the docs and maybe in the example application itself, if no user attributes have been queried: No user attributes have been queried. You could configure some in your Realm's configuration. Learn more about it <here> (link to the docs) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org