Error in log : principal Administrator does not exist

Hello,

we just change the server to use a more efficient but we now have an error in the log. We connected to a LDAP (it's ok) so I don't see where the problem. Thanks for your help !


2013-01-21 17:35:00,001 ERROR [org.nuxeo.ecm.platform.login.NuxeoLoginModule] createIdentity failed
javax.security.auth.login.LoginException: principal Administrator does not exist
            at org.nuxeo.ecm.platform.login.NuxeoLoginModule.createIdentity(NuxeoLoginModule.java:300)
            at org.nuxeo.ecm.platform.login.NuxeoLoginModule.validateUserIdentity(NuxeoLoginModule.java:358)
            at org.nuxeo.ecm.platform.login.NuxeoLoginModule.getPrincipal(NuxeoLoginModule.java:210)
            at org.nuxeo.ecm.platform.login.NuxeoLoginModule.login(NuxeoLoginModule.java:261)
            at org.nuxeo.runtime.api.LoginModuleWrapper.login(LoginModuleWrapper.java:77)
            at sun.reflect.GeneratedMethodAccessor57.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
            at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
            at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
            at java.security.AccessController.doPrivileged(Native Method)
            at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
            at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
            at org.nuxeo.ecm.platform.ui.web.auth.NuxeoAuthenticationFilter.loginAs(NuxeoAuthenticationFilter.java:1041)
            at org.nuxeo.ecm.platform.ui.web.auth.service.LoginAsImpl.loginAs(LoginAsImpl.java:32)
            at org.nuxeo.runtime.api.Framework.loginAsUser(Framework.java:289)
            at org.nuxeo.ecm.core.scheduler.EventJob.execute(EventJob.java:94)
            at org.nuxeo.ecm.core.scheduler.EventJob.execute(EventJob.java:59)
            at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
            at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525) 2013-
01-21 17:35:00,002 ERROR [org.nuxeo.ecm.core.scheduler.EventJob] Error while processing scheduled
event id: workManagerCleanup javax.security.auth.login.LoginException: createIdentity failed for
user Administrator
            at org.nuxeo.ecm.platform.login.NuxeoLoginModule.createIdentity(NuxeoLoginModule.java:310)
            at org.nuxeo.ecm.platform.login.NuxeoLoginModule.validateUserIdentity(NuxeoLoginModule.java:358)
            at org.nuxeo.ecm.platform.login.NuxeoLoginModule.getPrincipal(NuxeoLoginModule.java:210)
            at org.nuxeo.ecm.platform.login.NuxeoLoginModule.login(NuxeoLoginModule.java:261)
            at org.nuxeo.runtime.api.LoginModuleWrapper.login(LoginModuleWrapper.java:77)
            at sun.reflect.GeneratedMethodAccessor57.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
            at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
            at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
            at java.security.AccessController.doPrivileged(Native Method)
            at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
            at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
            at org.nuxeo.ecm.platform.ui.web.auth.NuxeoAuthenticationFilter.loginAs(NuxeoAuthenticationFilter.java:1041)
            at org.nuxeo.ecm.platform.ui.web.auth.service.LoginAsImpl.loginAs(LoginAsImpl.java:32)
            at org.nuxeo.runtime.api.Framework.loginAsUser(Framework.java:289)
            at org.nuxeo.ecm.core.scheduler.EventJob.execute(EventJob.java:94)
            at org.nuxeo.ecm.core.scheduler.EventJob.execute(EventJob.java:59)
            at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
            at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525) Caused
by: javax.security.auth.login.LoginException: principal Administrator does not exist
            at org.nuxeo.ecm.platform.login.NuxeoLoginModule.createIdentity(NuxeoLoginModule.java:300)
            ... 20 more
0 votes

3 answers

3427 views

ANSWER



Thanks for your help.

I upgrade Nuxeo with hotfixes and all is OK !!!

0 votes



Hi delphine,

I also have Upgraded to Nuxeo8.10 LTS 2016 My Nuxeo is connected to LDAP but when i login via SSO it will always throw error like principle doesn't exist. i am login via email not the username in nuxeo. can you please share what you did to resolve the issue ?

Thank you

12/15/2017


0 votes



Hello Delphine,

Maybe you should have a look at the extension

org.nuxeo.ecm.platform.usermanager.UserService" point="userManager"

Is this configuration ok ?

<defaultAdministratorId>uid_of_our_admin</defaultAdministratorId>

Hope this helps, Antoine

0 votes