diff --git a/spring-webflow-samples/booking-faces/src/main/resources/import.sql b/spring-webflow-samples/booking-faces/src/main/resources/import.sql index cd3a125b..fb4998ac 100755 --- a/spring-webflow-samples/booking-faces/src/main/resources/import.sql +++ b/spring-webflow-samples/booking-faces/src/main/resources/import.sql @@ -1,5 +1,6 @@ -insert into Customer (username, name) values ('rod', 'Rod') -insert into Customer (username, name) values ('dianne', 'Dianne') +insert into Customer (username, name) values ('keith', 'Keith') +insert into Customer (username, name) values ('erwin', 'Erwin') +insert into Customer (username, name) values ('jeremy', 'Jeremy') insert into Customer (username, name) values ('scott', 'Scott') insert into Hotel (id, price, name, address, city, state, zip, country) values (1, 199, 'Westin Diplomat', '3555 S. Ocean Drive', 'Hollywood', 'FL', '33019', 'USA') insert into Hotel (id, price, name, address, city, state, zip, country) values (2, 120, 'Marriott Courtyard', 'Tower Place, Buckhead', 'Atlanta', 'GA', '30305', 'USA') diff --git a/spring-webflow-samples/booking-faces/src/main/webapp/WEB-INF/login.xhtml b/spring-webflow-samples/booking-faces/src/main/webapp/WEB-INF/login.xhtml index d9707a5b..53b81f60 100755 --- a/spring-webflow-samples/booking-faces/src/main/webapp/WEB-INF/login.xhtml +++ b/spring-webflow-samples/booking-faces/src/main/webapp/WEB-INF/login.xhtml @@ -6,8 +6,7 @@ - -

Login

+

Login Required

@@ -17,11 +16,12 @@
-

Valid users:

+

Valid username/passwords are:

    -
  • rod/koala
  • -
  • dianne/emu
  • -
  • scott/wombat
  • +
  • keith/melbourne
  • +
  • erwin/leuven
  • +
  • scott/rochester
  • +
  • jeremy/atlanta
diff --git a/spring-webflow-samples/booking-faces/src/main/webapp/WEB-INF/web-application-config.xml b/spring-webflow-samples/booking-faces/src/main/webapp/WEB-INF/web-application-config.xml index 34984b9e..cbbe7da9 100755 --- a/spring-webflow-samples/booking-faces/src/main/webapp/WEB-INF/web-application-config.xml +++ b/spring-webflow-samples/booking-faces/src/main/webapp/WEB-INF/web-application-config.xml @@ -106,16 +106,18 @@ Define local authentication provider, a real app would use an external provider (JDBC, LDAP, CAS, etc) usernames/passwords are: - rod/koala - dianne/emu - scott/wombat + keith/melbourne + erwin/leuven + jeremy/atlanta + scott/rochester --> - - - + + + + diff --git a/spring-webflow-samples/booking-mvc/src/main/resources/import.sql b/spring-webflow-samples/booking-mvc/src/main/resources/import.sql index cd3a125b..fb4998ac 100755 --- a/spring-webflow-samples/booking-mvc/src/main/resources/import.sql +++ b/spring-webflow-samples/booking-mvc/src/main/resources/import.sql @@ -1,5 +1,6 @@ -insert into Customer (username, name) values ('rod', 'Rod') -insert into Customer (username, name) values ('dianne', 'Dianne') +insert into Customer (username, name) values ('keith', 'Keith') +insert into Customer (username, name) values ('erwin', 'Erwin') +insert into Customer (username, name) values ('jeremy', 'Jeremy') insert into Customer (username, name) values ('scott', 'Scott') insert into Hotel (id, price, name, address, city, state, zip, country) values (1, 199, 'Westin Diplomat', '3555 S. Ocean Drive', 'Hollywood', 'FL', '33019', 'USA') insert into Hotel (id, price, name, address, city, state, zip, country) values (2, 120, 'Marriott Courtyard', 'Tower Place, Buckhead', 'Atlanta', 'GA', '30305', 'USA') diff --git a/spring-webflow-samples/booking-mvc/src/main/webapp/WEB-INF/login.jsp b/spring-webflow-samples/booking-mvc/src/main/webapp/WEB-INF/login.jsp index 9f34aa20..0de9db93 100755 --- a/spring-webflow-samples/booking-mvc/src/main/webapp/WEB-INF/login.jsp +++ b/spring-webflow-samples/booking-mvc/src/main/webapp/WEB-INF/login.jsp @@ -10,8 +10,7 @@ - -

Login

+

Login Required

@@ -21,11 +20,12 @@
-

Valid users:

+

Valid username/passwords are:

    -
  • rod/koala
  • -
  • dianne/emu
  • -
  • scott/wombat
  • +
  • keith/melbourne
  • +
  • erwin/leuven
  • +
  • scott/rochester
  • +
  • jeremy/atlanta
diff --git a/spring-webflow-samples/booking-mvc/src/main/webapp/WEB-INF/web-application-config.xml b/spring-webflow-samples/booking-mvc/src/main/webapp/WEB-INF/web-application-config.xml index bfdbd348..ef3fe3c7 100755 --- a/spring-webflow-samples/booking-mvc/src/main/webapp/WEB-INF/web-application-config.xml +++ b/spring-webflow-samples/booking-mvc/src/main/webapp/WEB-INF/web-application-config.xml @@ -132,16 +132,18 @@ Define local authentication provider, a real app would use an external provider (JDBC, LDAP, CAS, etc) usernames/passwords are: - rod/koala - dianne/emu - scott/wombat + keith/melbourne + erwin/leuven + jeremy/atlanta + scott/rochester --> - - - + + + +