Skip to main content
October 16, 2015
解決済み

Getting hold of workspace for user session

  • October 16, 2015
  • 1 の返信
  • 755 ビュー

We're in the process of separating our entire workspace into multiple workspaces. As part of the code restructuring we're stuck at one place. At the moment we get hold of the user session using 

request.getResourceResolver().adaptTo(Session.class);

What this does is that it returns back is the session for the default workspace (crx.default). Is there a way we can get hold of  a specified workspace? I can see that the Repository class has the 

repository.login(Crendentials, WorkspaceName)

However we weren't able to find out a way to get the Credentials from the Session. The authentication right now is integrated with LDAP.

Is there any workaround for this?

このトピックへの返信は締め切られました。
ベストアンサー JustinEd3

AEM does not support multiple workspaces.

1 の返信

JustinEd3Adobe Employee回答
Adobe Employee
October 16, 2015

AEM does not support multiple workspaces.