LocalSession is no more working correctly in tests
--------------------------------------------------
Key: NXP-2614
URL: http://jira.nuxeo.org/browse/NXP-2614
Project: Nuxeo Enterprise Platform
Issue Type: Bug
Components: Core
Affects Versions: 5.2 M2
Reporter: Bogdan Stefanescu
Assignee: Bogdan Stefanescu
Priority: Major
Fix For: 5.2 M3
The core local session is used when connecting to an embedded repository.
It was primarily used from JUnit to perform repository tests. It contained e a
hack to initialize the principal
to administrator if no login was performed.
Now it is used by webengine to connect to embedded repositories so this hack
was removed (because it was a security pb.)
But now tests that are running nuxeo code that is logging into nuxeo is no more
working.
In order to fix this the test framework must use a real JAAS login.
In the meantime an workaround will be put in LocalSession to prevent tests to
fail
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets