Hi, I setup multiple instances of alfresco into a single tomcat container. I have an authentication mechanism not conforming ldap.
Questions: 1) is it possible to integrate against proprietary authentication mechanism? Are there examples? is there somebody that do this? 2) how can I use the "Import -user admin -pwd admin storeworkspace:\\SpaceStore -path \sys:system\syseople Alfrescopeople.xml" to import user into one instance and not in the other? It seems to me that there is no context definition in the above syntax. 3) Is there a similar way to bulk upload groups? 4) can I bulk upload also the password for each user?
because I changed the admin password to Integ2002.
I can access the alfresco box from web client using the user: admin password: Integ2002 credential
The output I got from the import is: ——————————————— 17:17:14,828 INFO [service.descriptor.DescriptorService] Alfresco started (Comm unity Network): Current version 1.4.0 (build-105) schema 21 - Installed version 1.4.0 (build-105) schema 21 The following error has occurred: Bad credentials presented org.alfresco.repo.security.authentication.AuthenticationException: Bad credentia ls presented at org.alfresco.repo.security.authentication.AuthenticationComponentImpl .authenticate(AuthenticationComponentImpl.java:69) at org.alfresco.repo.security.authentication.AuthenticationServiceImpl.a uthenticate(AuthenticationServiceImpl.java:104) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflecti on(AopUtils.java:335) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJo inpoint(ReflectiveMethodInvocation.java:181) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed( ReflectiveMethodInvocation.java:148) at org.springframework.aop.support.DelegatingIntroductionInterceptor.inv oke(DelegatingIntroductionInterceptor.java:116) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed( ReflectiveMethodInvocation.java:170) at net.sf.acegisecurity.intercept.method.aopalliance.MethodSecurityInter ceptor.invoke(MethodSecurityInterceptor.java:80) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed( ReflectiveMethodInvocation.java:170) at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethod Interceptor.invoke(ExceptionTranslatorMethodInterceptor.java:41) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed( ReflectiveMethodInvocation.java:170) at org.alfresco.repo.audit.AuditComponentImpl.auditImpl(AuditComponentIm pl.java:210) at org.alfresco.repo.audit.AuditComponentImpl.audit(AuditComponentImpl.j ava:156) at org.alfresco.repo.audit.AuditMethodInterceptor.invoke(AuditMethodInte rceptor.java:61) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed( ReflectiveMethodInvocation.java:170) at org.springframework.transaction.interceptor.TransactionInterceptor.in voke(TransactionInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed( ReflectiveMethodInvocation.java:170) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynami cAopProxy.java:176) at $Proxy21.authenticate(Unknown Source) at org.alfresco.tools.Tool.login(Tool.java:229) at org.alfresco.tools.Tool.start(Tool.java:205) at org.alfresco.tools.Export.main(Export.java:57) Caused by: net.sf.acegisecurity.BadCredentialsException: Bad credentials present ed at net.sf.acegisecurity.providers.dao.DaoAuthenticationProvider.getUserF romBackend(DaoAuthenticationProvider.java:393) at net.sf.acegisecurity.providers.dao.DaoAuthenticationProvider.authenti cate(DaoAuthenticationProvider.java:225) at net.sf.acegisecurity.providers.ProviderManager.doAuthentication(Provi derManager.java:159) at net.sf.acegisecurity.AbstractAuthenticationManager.authenticate(Abstr actAuthenticationManager.java:49) at org.alfresco.repo.security.authentication.AuthenticationComponentImpl .authenticate(AuthenticationComponentImpl.java:63) ————————————————-
Moreover I have one more dubt: are the "workspace://SpaceStore -path sys:system\syseople" parameters correct? If I look to the full export process I did from alfresco web client the comment of users_acp is: Alfresco Repository export of store 'user://alfrescoUserStore'
The import seems to work fine but as soon as I try to perform any operation from web client iterface I got errors.
for example clicking on modify user I experienced:
————————————————- javax.faces.el.EvaluationException: Exception while invoking expression #{NewUserWizard.startWizardForEdit} caused by: java.lang.NullPointerException
Hide Details
javax.faces.el.EvaluationException: Exception while invoking expression #{NewUserWizard.startWizardForEdit} at org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:153) at javax.faces.component.UICommand.broadcast(UICommand.java:86) at javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:90) at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:164) at org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(LifecycleImpl.java:316) at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:86) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:105) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.alfresco.web.app.servlet.AdminAuthenticationFilter.doFilter(AdminAuthenticationFilter.java:72) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.alfresco.web.app.servlet.AuthenticationFilter.doFilter(AuthenticationFilter.java:73) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:868) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:663) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595) Caused by: java.lang.NullPointerException