掲示板

Alfresco in IFrame

14年前 に Sandro Nala によって更新されました。

Alfresco in IFrame

New Member 投稿: 21 参加年月日: 09/08/11 最新の投稿
Using Liferay 5.2.3 and an iframe portlet, the URL is set with alfresco

configuration is as follows:

_________________________________________________________________
Source URL -> http://localhost:8180/alfresco/faces/jsp/login.jsp

Authentication Type -> form

Form Method -> post

User Name -> Field Name : loginForm:user-name, Value :

Password -> Field Name : loginForm:user-password, Value :

Hidden Variables : loginForm:_idcl=;loginForm:_link_hidden_=;loginForm:language=en_US;loginForm:submit=Login;loginForm_SUBMIT=1
_________________________________________________________________

authentication is successful
but if I refresh the page back to the login page for Alfresco.

how can I do authentication with Alfresco as the current user?

I want to use iframe for single sign on for all my web applications,
is this possible?

thanks

PS:I did the same question here:
http://www.liferay.com/community/forums/-/message_boards/message/4729054
thumbnail
13年前 に Steve Womack によって更新されました。

RE: Alfresco in IFrame

Junior Member 投稿: 58 参加年月日: 10/04/16 最新の投稿
i was able to get the iframe authentication working with the current user login credintials using an iframe. i am running liferay 5.2.3, so i had to install a proxy patch located here. http://issues.liferay.com/browse/LPS-746

Once i installed the patch i was able to use this configurations to successful login to alfresco.

Authentication Type: Form
Form Method: Post
Username: Field Name: loginForm:user-name Value: loginForm:user-name=$login$
Password: FieldName: loginForm:user-password Value: loginForm:user-password=$password$
Hidden Variables: loginForm:_idcl=;loginForm:_link_hidden_=;loginForm:language=en_US;loginForm:submit=Login;loginForm_SUBMIT=1


I did notice that like the poster above you have to refresh the page once to get it to login. I hope 6 fixes this issue. If not, i may use javascript to have the page auto refresh once upon page load.

How has anyone else tried to solve this refresh dilemma?
thumbnail
9年前 に mohiden abdul kader によって更新されました。

RE: Alfresco in IFrame

Junior Member 投稿: 38 参加年月日: 12/08/08 最新の投稿
Hello Forum Members,

I have created the custom page using xml file and ftl(freemarker) file in the alfresco
.Its working as excepted .
I can able to view the alfresco instances explorer inside the liferay page using Iframe portlet
,
But I have the issue not able to view the alfresco share inside Liferay Iframe portlet.
.Let me know how can I overcome these serious issue.



Thanks & Regards,
Abdul Kader
thumbnail
9年前 に mohiden abdul kader によって更新されました。

RE: Alfresco in IFrame

Junior Member 投稿: 38 参加年月日: 12/08/08 最新の投稿
But I have the issue not able to view the alfresco share inside Liferay Iframe portlet.
.


In Default ,Alfresco have included Security filter to avoid phising attack in alfresco share through Iframe portlet.I have overcome these issues by made configuration in the share-security-config.xml .By changing the deafult value into following value

<name>X-Frame-Options</name>
<enabled>false</enabled>


You can View Alfresco share in the IFrame Portlet Once you configured and restarted .
8年前 に abhishek kumar によって更新されました。

RE: Alfresco in IFrame

Regular Member 投稿: 138 参加年月日: 15/08/17 最新の投稿
its been late but it is not working , when i configure the url according to IFRAME.

url - http://localhost:8080/share/page/user/bruno/dashboard

form: post

username-bruno
password-bruno

in iframe it is showing a message Something's wrong with this page.