07-25-2017 06:20 AM
Hi here is the code of the plugin which I am trying https://github.com/sherry-ummen/NuxeoLoginPlugin
its basically taken from here https://www.nuxeo.com/blog/guest-post-integrating-single-sign-sso-nuxeo-case-management/
I did 'mvn clear package' and added the .jar file to C:\Nuxeo\nxserver\bundles
I know that initPlugin method is being called (because of my debug code), but handleRetrieveIdentity is not being called ?
I am trying to login via .Net client and I thought it would trigger the handleRetrieveIdentity but it does not, i tried to login from the portal that also does not trigger it. Now I am confused when it should be actually called then or why is it not being called ?
07-26-2017 11:46 AM
This file is not valid XML (it has two "component" document root elements):
edit: I have not run your code, but I am guessing that initPlugin runs when the Java bundle is loaded (and hence will run) but since the authentication config file is not well-formed, no behavior is changed. Check your server startup log for WARNING or ERROR messages related to that XML file or your bundle in general.
07-28-2017 03:28 AM
I have fixed that file by removing that component, but still it does not work. No warning related to that in the console. Also I have log prints in the code. How do I see them in the console ? And how can I test it ? by just login in from my nuxeo instance portal or any other way ?
07-28-2017 05:54 AM
I actually got it working, it seems I have a some typo in my configuration file. Now the working code is here https
07-28-2017 06:05 AM
Ok now full chain works
07-28-2017 06:06 AM
Full working code could be found here https://github.com/sherry-ummen/NuxeoLoginPlugin . A detailed blog post will follow soon.
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.