Thanks for the reply Peter.
I indeed logged in to the Drupal web interface using the
user="drupalAdmin" password="drupalAdmin". That is the only account on drupal database at the moment.
I returned the FilterDrupal to its previous format, whose credentials are the same as in the settings.php file:
<connection server="localhost" dbname="drupalDB" user="drupalAdmin" password="drupalAdmin" port="3306">
And I enabled the FESL logging in Fedora. All seems fine (see log except further below).
However I'm still confused about the fedora3/drupalDB and the users on each of those databases.
How is the fedora repository to know that drupalAdmin (or any user in the drupal structure) is supposed to login and access the fedora3 database. Those 2 databases are completely independent, although in the same mysql server. At no time in the installation sequence there was an instruction to grant drupalAdmin access fedora3.
I came across an "anonymous" user or access in one of the instruction pages (can't recall which one), but I'm not sure if that has a play on this process. I'm assuming this to be the case at least for reading/searching, since when I used the flash interface to access
http://localhost:8080/fedora I was not prompted for a user/password login screen. But I would expect not to be able to perform writes to the repository.
In addition, the curl test was done using the fedoreAdmin account, which does have granted access to fedora3 database.
Would anyone be able to enlighten me on this process?
Thanks
Jaime
oot@islandora-test:/usr/local/fedora/server/logs# cat fesl.log
INFO 2014-08-26 15:16:15.218 [localhost-startStop-1] (AuthFilterJAAS) using FEDORA_HOME: /usr/local/fedora
INFO 2014-08-26 15:16:15.218 [localhost-startStop-1] (AuthFilterJAAS) initialised servlet filter: org.fcrepo.server.security.jaas.AuthFilterJAAS
DEBUG 2014-08-26 15:16:34.552 [http-bio-8080-exec-1] (AuthFilterJAAS) incoming filter: org.fcrepo.server.security.jaas.AuthFilterJAAS
DEBUG 2014-08-26 15:16:34.555 [http-bio-8080-exec-1] (AuthFilterJAAS) session-id: C80E4BCB11E82458A24D48021490EEA4
DEBUG 2014-08-26 15:16:34.557 [http-bio-8080-exec-1] (AuthFilterJAAS) auth username: drupalAdmin
DEBUG 2014-08-26 15:16:34.563 [http-bio-8080-exec-1] (XmlUsersFileModule) using FEDORA_HOME: /usr/local/fedora
DEBUG 2014-08-26 15:16:34.563 [http-bio-8080-exec-1] (XmlUsersFileModule) login module initialised: org.fcrepo.server.security.jaas.auth.module.XmlUsersFileModule
DEBUG 2014-08-26 15:16:34.564 [http-bio-8080-exec-1] (XmlUsersFileModule) org.fcrepo.server.security.jaas.auth.module.XmlUsersFileModule login called.
DEBUG 2014-08-26 15:16:34.764 [http-bio-8080-exec-1] (AuthFilterJAAS) found userPrincipal [org.fcrepo.server.security.jaas.auth.UserPrincipal]: drupalAdmin
DEBUG 2014-08-26 15:16:34.765 [http-bio-8080-exec-1] (SubjectUtils) checking for attributes (class name): java.util.HashMap
DEBUG 2014-08-26 15:16:34.765 [http-bio-8080-exec-1] (SubjectUtils) checking for attributes (key object name): java.lang.String
DEBUG 2014-08-26 15:16:34.765 [http-bio-8080-exec-1] (SubjectUtils) checking for attributes (value object name): java.util.HashSet
DEBUG 2014-08-26 15:16:34.765 [http-bio-8080-exec-1] (AuthFilterJAAS) found role: administrator
DEBUG 2014-08-26 15:16:34.765 [http-bio-8080-exec-1] (AuthFilterJAAS) found role: authenticated user