Doc tweaks, placeholder for security debug.

This commit is contained in:
tim holloway 2024-09-19 16:37:34 -04:00
parent 93feaf1410
commit 550c4aafaf
3 changed files with 8 additions and 2 deletions

View File

@ -109,7 +109,8 @@ reference View- or SessionScoped backing beans. This is alterable
by setting an option in the faces-config. by setting an option in the faces-config.
force force
### Developer/deployer note. Because of caching, updated installations ### Developer/deployer note.
Because of caching, updated installations
may not render properly. Manually request the "/main.xtml" resource may not render properly. Manually request the "/main.xtml" resource
and that should flush out stale info being used by "/main.jsf". and that should flush out stale info being used by "/main.jsf".
@ -118,6 +119,10 @@ that caused HTTP "400" errors fetching resources. A fix has
been made, although the ultimate solution will probably be more been made, although the ultimate solution will probably be more
JSF-friendly. JSF-friendly.
Security note: The gourmetj password file is a simple CSV file
with "userid","password" plain text, NOT htpasswd form. Modify the
SpringSecurityConfig if you want something more rigorous.
## Minor release 2.0.1 ## Minor release 2.0.1
This release can build an installable RPM for Red Hat-compatible This release can build an installable RPM for Red Hat-compatible

View File

@ -7,7 +7,7 @@
<groupId>com.mousetech.gourmet</groupId> <groupId>com.mousetech.gourmet</groupId>
<artifactId>gourmetj</artifactId> <artifactId>gourmetj</artifactId>
<version>2.0.1</version> <version>2.0.4</version>
<packaging>jar</packaging> <packaging>jar</packaging>
<name>GourmetJ</name> <name>GourmetJ</name>

View File

@ -69,6 +69,7 @@ public class SpringSecurityConfig {
|| (pwLine.charAt(0) == '#')) { || (pwLine.charAt(0) == '#')) {
continue; continue;
} }
//log.error("======== PWLINE="+pwLine);
String[] creds = parseCreds(pwLine); String[] creds = parseCreds(pwLine);
UserDetailsManagerConfigurer<AuthenticationManagerBuilder, UserDetailsManagerConfigurer<AuthenticationManagerBuilder,
InMemoryUserDetailsManagerConfigurer<AuthenticationManagerBuilder>> InMemoryUserDetailsManagerConfigurer<AuthenticationManagerBuilder>>