]
Eric Wittmann resolved SRAMP-476.
---------------------------------
Resolution: Done
Lazy-load of JCR repository incompatible with maven repo facade auth
--------------------------------------------------------------------
Key: SRAMP-476
URL:
https://issues.jboss.org/browse/SRAMP-476
Project: S-RAMP
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Core
Reporter: Eric Wittmann
Assignee: Eric Wittmann
Fix For: 0.5.0.Final
The maven repository facade authentication will create a read-only user for accessing the
repository. However, we are lazy-loading the JCR repository. So if the read-only maven
repository facade credentials are used for the very first request to s-ramp, then jcr repo
creation will fail.
The solution is to no longer lazy-load the repository. Instead, fabricate an
admin-rights user on startup of the s-ramp WAR and use that to create the repository in a
separate thread.