Liferay 露天建筑是未经许可的

Liferay 露天建筑是未经许可的,liferay,alfresco,cmis,Liferay,Alfresco,Cmis,我正在集成Liferay和alfresco,我的目标是使用alfresco 5.2来存储在Liferay DXP中创建的内容 为此,我将这一行添加到portal-ext.porperties dl.store.impl=com.liferay.portal.store.cmis.CMISStore 并使用以下内容添加了配置文件com.liferay.portal.store.cmis.configuration.CMISStoreConfiguration.cfg: repositoryUrl

我正在集成Liferay和alfresco,我的目标是使用alfresco 5.2来存储在Liferay DXP中创建的内容

为此,我将这一行添加到portal-ext.porperties

dl.store.impl=com.liferay.portal.store.cmis.CMISStore
并使用以下内容添加了配置文件
com.liferay.portal.store.cmis.configuration.CMISStoreConfiguration.cfg

repositoryUrl=http://localhost:8080/alfresco/api/-default-/public/cmis/versions/1.1/atom

credentialsUsername=admin credentialsPassword=password

systemRootDir=Liferay
一切正常,但在重新启动liferay时突然出现以下错误:

21:19:37,536 ERROR [localhost-startStop-1][com_liferay_portal_store_cmis:97] [com.liferay.portal.store.cmis.CMISStore(1549)] The activate method has thrown an exception 
org.apache.chemistry.opencmis.commons.exceptions.CmisUnauthorizedException: Unauthorized
    at org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAtomPubService.convertStatusCode(AbstractAtomPubService.java:477)
    at org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAtomPubService.read(AbstractAtomPubService.java:645)
    at org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAtomPubService.getRepositoriesInternal(AbstractAtomPubService.java:808)
    at org.apache.chemistry.opencmis.client.bindings.spi.atompub.RepositoryServiceImpl.getRepositoryInfos(RepositoryServiceImpl.java:65)
    at org.apache.chemistry.opencmis.client.bindings.impl.RepositoryServiceImpl.getRepositoryInfos(RepositoryServiceImpl.java:90)
    at org.apache.chemistry.opencmis.client.runtime.SessionFactoryImpl.getRepositories(SessionFactoryImpl.java:135)
    at org.apache.chemistry.opencmis.client.runtime.SessionFactoryImpl.getRepositories(SessionFactoryImpl.java:112)
    at com.liferay.portal.store.cmis.CMISStore.createSession(CMISStore.java:591)
    at com.liferay.portal.store.cmis.CMISStore.activate(CMISStore.java:475)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.apache.felix.scr.impl.inject.BaseMethod.invokeMethod(BaseMethod.java:224)
    at org.apache.felix.scr.impl.inject.BaseMethod.access$500(BaseMethod.java:39)
    at org.apache.felix.scr.impl.inject.BaseMethod$Resolved.invoke(BaseMethod.java:617)
    at org.apache.felix.scr.impl.inject.BaseMethod.invoke(BaseMethod.java:501)
    at org.apache.felix.scr.impl.inject.ActivateMethod.invoke(ActivateMethod.java:302)
    at org.apache.felix.scr.impl.inject.ActivateMethod.invoke(ActivateMethod.java:294)
    at org.apache.felix.scr.impl.manager.SingleComponentManager.createImplementationObject(SingleComponentManager.java:297)
    at org.apache.felix.scr.impl.manager.SingleComponentManager.createComponent(SingleComponentManager.java:108)
    at org.apache.felix.scr.impl.manager.SingleComponentManager.getService(SingleComponentManager.java:906)
    at org.apache.felix.scr.impl.manager.SingleComponentManager.getServiceInternal(SingleComponentManager.java:879)
    at org.apache.felix.scr.impl.manager.SingleComponentManager.getService(SingleComponentManager.java:823)
    at org.eclipse.osgi.internal.serviceregistry.ServiceFactoryUse$1.run(ServiceFactoryUse.java:212)
    at java.security.AccessController.doPrivileged(Native Method)

在此上下文中,未经授权意味着什么?

确保用户名和密码设置位于不同的行,而不是问题中显示的一行!我终于发现了问题:alfresco SSO处于活动状态,并且使cmis url端点不允许SSO之外的用户使用。