Pekka Helenius
|
c23ef0cc6d
|
Update layout, update class description
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
ac02bad770
|
Update controller links & authorities
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
e475e37cbf
|
Update development environment texts
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
12ba93f42d
|
Web forms: Add dev profile checks
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
7ff23e1a39
|
Add dev profile annotations; delete authority USER from Admin test user
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
407d072802
|
Add development properties; re-locate some properties
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
0094dc831f
|
Check if external URL is reachable before inserting fragments from there
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
d568620060
|
UrlTemplateResolver: Add TTL configuration
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
90fbbb7eca
|
Implement BookStoreExternalUrlService for URL checks
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
fa1b75e824
|
Move H2 database console link to more appropriate place; add dev note
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
87f4b9606f
|
Use Spring logical component BookAuth to retrieve book authorities
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
c44b2aaf96
|
Add missing authority properties; add header note
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
5cb4e3f347
|
Retrieve authorities & categories from Spring Environment
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
dbf1af523c
|
Un-hardcode WebSecurityConfig authorities; add commenting
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
249ff1f052
|
Use logical Spring component BookAuth to retrieve Authorities;
un-hardcode rest MARKETING authority names
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
2a525f3136
|
Implement BookStoreAuthorities class
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
3db3820de1
|
Update property files: add header note
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
aba7651452
|
Add categories.properties into property file list; update a comment
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
9eb84b320a
|
Add categories.properties for book categories
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
9ec54aedb3
|
Add footer dev note
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
c38f0161b8
|
Un-hardcode authentication failure message: use message from localized
messages.properties file
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
3cbe299f1c
|
Un-hardcode more messages; update web forms
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
9d4724829a
|
Show loaded property sources during Spring initialization
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
de830d1b3e
|
Notion: allow broken relative URLs in footer on development phase
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
e5449f8697
|
Deprecate String vars for web URLs; read URLs from website.properties;
read auth field props from authentication.properties
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
a91d1a61c3
|
Web forms: use Spring env properties for page URLs; add footer fragment
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
45ed308851
|
Implement & enable UrlTemplateResolver for HTML fragment URLs
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
e160bbeeec
|
Add footerpart HTML fragment
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
978ddb2806
|
Implement support for additional properties files
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
284e185396
|
Add redirected attribute element 'authfailure'; update credential field
names
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
491df00b1a
|
Implement /autherror POST end point; update list page method name
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
1455d582d1
|
Add Bookstore authentication handlers; define login processing and
fallback URLs; rename credential fields
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
71476ab1db
|
Properly handle events when user is not found
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
0a572c73a2
|
Implement Bookstore Authentication Handler classes
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
e2ad9e1505
|
Update BookStoreAccessDeniedHandler class
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
21526b1a55
|
Spring security: Fix access to H2 console; update config
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
e3a5673114
|
Prevent unauthorized access to book data even if hash id is known
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
81da9d96d8
|
Add missing descriptions
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
3b3f3aba10
|
Add missing publish parameter for pre-defined book entity objects
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
db835dd753
|
Change publish attribute data type to boolean
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
eeaff918ae
|
Edit book form: add authority check
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
cc81dbeb58
|
Update admin perms description; Update REST API help reference guide
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
76129f6909
|
Differentiate REST API web security from Web Form security; HttpSecurity
additions
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
b6b9b2a25d
|
Change BOOK to Book in HQL query
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
292492fa96
|
Minor updates
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
84f58b706e
|
Rename method: updateWithoutPrice -> updateWithoutPriceAndWithoutPublish
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
a176f7b1b3
|
Simplify access control annotations, based on Spring docs
Ref: https://docs.spring.io/spring-security/site/docs/4.2.x/reference/html/el-access.html
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
1c91b1de3e
|
Add missing CSS styles
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
44fef19cf2
|
Add web form data fields related to book publication
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
570b3be536
|
Add CSS styles for plain HTML editing
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |