This is an automated email from the ASF dual-hosted git repository.
mraible pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/roller.git
from 6f3677175 Merge pull request #396 from apache/keep-approvals-after-push
add ea54ce1f9 Configure Spring Security in Java instead of security.xml
add beac90bb6 Require Spring Security's CSRF token on the login form
add 10607c584 Name the login page's remember-me checkbox as Spring
Security expects
add f0061245f Test that the Java config upgrades old password encodings at
login
add 377350247 Send a login with an expired token back to the login page
add f3284e98a Tighten the security.access rules, LDAP and remember-me in
the Java config
add 488ccc518 Apply security.access rules to requested paths only, and
don't replay a POST after login
add ed61bb5ac Address review findings in the Java security config
add 3c8c65012 Remove unused imports
add 2b8eece4b Apply security.access rules to a weblog's rendering addresses
add 0b95fdc0b Cover media files in security.access rules, and let static
files be cached
add 481c842cb Match a rendering URL's site access rules against its weblog
path, and serve Roller UI theme files without the security chain
add 035144498 Match security.access rules against the public path of each
rendering address
add 90b6062a1 Merge remote-tracking branch 'origin/master' into
java-security-config
add 645aff1a0 Drop the test for the LDAP remember-me signature, which this
change removes
new e7fe8368b Merge pull request #300 from mraible/java-security-config
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
CHANGES.md | 41 ++
app/pom.xml | 8 +
.../roller/weblogger/ui/core/RollerContext.java | 48 +-
.../roller/weblogger/ui/core/RollerSession.java | 2 +-
.../weblogger/ui/core/security/LogoutRedirect.java | 2 +-
.../RollerRememberMeAuthenticationProvider.java | 48 --
.../ui/core/security/RollerRememberMeServices.java | 35 -
.../weblogger/ui/core/security/SecurityConfig.java | 473 +++++++++++++
.../ui/rendering/WeblogRequestMapper.java | 52 +-
.../weblogger/ui/struts2/ajax/UserDataServlet.java | 4 +-
.../weblogger/ui/struts2/core/CreateWeblog.java | 8 +-
.../roller/weblogger/ui/struts2/core/Login.java | 12 +-
.../main/resources/ApplicationResources.properties | 2 +
.../roller/weblogger/config/roller.properties | 35 +-
app/src/main/webapp/WEB-INF/jsps/core/Login.jsp | 5 +-
app/src/main/webapp/WEB-INF/security.xml | 145 ----
app/src/main/webapp/WEB-INF/web.xml | 8 +-
.../security/ExternalLoginPlaceholderTest.java | 14 -
.../ui/core/security/SecurityConfigTest.java | 775 +++++++++++++++++++++
.../rendering/WeblogRequestMapperReservedTest.java | 71 ++
docs/roller-install-guide.adoc | 59 +-
21 files changed, 1529 insertions(+), 318 deletions(-)
delete mode 100644
app/src/main/java/org/apache/roller/weblogger/ui/core/security/RollerRememberMeAuthenticationProvider.java
create mode 100644
app/src/main/java/org/apache/roller/weblogger/ui/core/security/SecurityConfig.java
delete mode 100644 app/src/main/webapp/WEB-INF/security.xml
create mode 100644
app/src/test/java/org/apache/roller/weblogger/ui/core/security/SecurityConfigTest.java
create mode 100644
app/src/test/java/org/apache/roller/weblogger/ui/rendering/WeblogRequestMapperReservedTest.java