フォーラム

ホーム » Liferay Portal » English » x. Miscellaneous

構造的に表示 平面上に表示 ツリー上に表示
スレッド [ 前へ | 次へ ]
toggle
Heikki Kosonen
Authentication, forms and LifeRay behaviour
2013/01/16 8:38
答え

Heikki Kosonen

ランク: New Member

投稿: 1

参加年月日: 2013/01/16

最近の投稿

Hi all,

I am trying to understand what Liferay(6.1.20EE) does during authentication. (I have zero knowledge of liferay)

I have following situation: I am trying to index content of Liferay portal to MS Sharepoint index.

To Sharepiont crawler, i have setup up forms authentication -> SP will authenticate using form "/c/portal/login."
In log trace below:
- https://contentsourceur -> Url of secured liferay content (need to authenticate)
- https://loginpageurl -> is url of "/c/portal/login"

So, below is log from crawler. It:
1. makes request,
2. is redirected to loginpage
3. and successfully retrieves jsessionID
4. tries again
5. is redirected to login page again (if i intrepret the trace ok)
6. Crawling fails

So could there be some configuration or such in liferay what might cause this? Any help appreciated.

CHttpAccessorHelper::_AuthenticateFormsAuthSession - opening session for host...
CHttpAccessorHelper::_AuthenticateFormsAuthSession - post data:...
CHttpAccessorHelper::_AuthenticateFormsAuthSession - opened request for path...
CHttpAccessorHelper::_AuthenticateFormsAuthSession - request header: Content-Type: application/x-www-form-urlencoded Connection: Keep-Alive Cache-Control: no-cache ...

CHttpAccessorHelper::_TraceResponseHeader - response header: 'HTTP/1.1 200 OK Connection: Keep-Alive Date: Tue, 15 Jan 2013 15:57:28 GMT Keep-Alive: timeout=15, max=99 ...

CHttpAccessorHelper::_AuthenticateFormsAuthSession - request successful. [httpacchelper.cxx:1805] search\native\gather\protocols\http\httpacchelper.cxx
CHttpAccessorHelper::_AuthenticateFormsAuthSession - adding cookie to cache: JSESSIONID=7B6C2A611EB880A55423D3C45317EE96; COOKIE_SUPPORT=true; COOKIE_SUPPORT=true. [httpacchelper.cxx:1859] search\native\gather\protocols\http\httpacchelper.cxx

CHttpAccessorHelper::_SetCookieOnRequest - setting cookie on request: 'Cookie: JSESSIONID=7B6C2A611EB880A55423D3C45317EE96; COOKIE_SUPPORT=true; COOKIE_SUPPORT=true ' [httpacchelper.cxx:2416] search\native\gather\protocols\http\httpacchelper.cxx

CHttpAccessorHelper::InitRequestInternal - Request/Response succeeded CorrelationID URL https://contentsourceurl SearchRequestTime 16, SPRequestDuration 0, SPIISLatency 0, dwStatusCode 302, hr 0x40dca [httpacchelper.cxx:586] search\native\gather\protocols\http\httpacchelper.cxx

CHttpAccessorHelper::InitRequestInternal HTTP_STATUS_MOVED - URL https://contentsourceurl Redirected to https://loginpageurl [httpacchelper.cxx:653] search\native\gather\protocols\http\httpacchelper.cxx

CHttpAccessorHelper::InitRequestInternal - got redirected to login page 'https://loginpageurl'. [httpacchelper.cxx:683] search\native\gather\protocols\http\httpacchelper.cxx

The start address https://contentsourceurl cannot be crawled. Context: Application 'Search_Service_Application', Catalog 'Portal_Content' Details: Access is denied. You may not have sufficient privileges to perform the operation.

br,

-hk
Hitoshi Ozawa
RE: Authentication, forms and LifeRay behaviour
2013/02/05 18:21
答え

Hitoshi Ozawa

ランク: Liferay Legend

投稿: 7949

参加年月日: 2010/03/23

最近の投稿

I am trying to understand what Liferay(6.1.20EE) does during authentication. (I have zero knowledge of liferay)

I have following situation: I am trying to index content of Liferay portal to MS Sharepoint index.


Probably better to post this question to the 8. Third Party Application Integration -> General

http://www.liferay.com/community/forums/-/message_boards/category/4470265

Seems like it's failing on authentication but don't know what Sharepoint is actually doing.

Participate in the State of Liferay Community 2017. Help the community and even win some prizes!