cancel
Showing results for 
Search instead for 
Did you mean: 

Document in KM not opened without authentication when SSO is enabled.

Former Member
0 Kudos

Hi,

I am trying to open the document (with full url of the document in new window) in new window but the popup is displaying for authentication.

SSO is enabled and I am able to access the portal without giving credentials. But in new window if I try to open the document with full url then it is asking for authentication.

Please let me know what cofigurations should I do to achieve this.

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

praveenkumar_gudapati
Active Contributor
0 Kudos

Hi,

Post the URL with which you are opening the document in new window.

The key here is to set proper AuthScheme for the Iview.

http://help.sap.com/saphelp_nw70/helpdata/EN/44/42c2ed81ce2152e10000000a114a6b/frameset.htm

So if you are calling IView using path: http://<server>:<port>/irj/servlet/prt/portal/prtroot/<pcd address>

Then check the IView's AuthScheme property and choose appropriate one:

http://help.sap.com/saphelp_nw70/helpdata/EN/66/1700fd44385c44afc0f781b6f90e0f/frameset.htm

http://help.sap.com/saphelp_nw70/helpdata/EN/54/a334ed5bbfd5488b8cdd67b2c594a9/frameset.htm

https://forums.sdn.sap.com/thread.jspa?threadID=338537

Regards,

Praveen Gudapati

Former Member
0 Kudos

Hi Praveen,

I am not opening iView. I am opening document, which is located under KM folder.

For example :

I have one document (Test.pdf) under root:\MainFolder\SubFolder of KM. I am trying to open this document with url "http://myhost:50100/irj/go/km/docs/MainFolder/SubFolder/Test.pdf" in new window then popup is diplaying for authentication.

Since the portal authenticate with windows credentials automatically it should open the document without authentication but it's not happening.

Please let me know what might be the problem

Thanks

praveenkumar_gudapati
Active Contributor
0 Kudos

Hi,

Check this:

https://forums.sdn.sap.com/thread.jspa?threadID=841937

The docs component you are calling in the url has AuthScheme=basicauthentication in its component configuration, so you have change it in portalapp.xml and redeploy to fix it.

http://help.sap.com/saphelp_nw70/helpdata/EN/66/1700fd44385c44afc0f781b6f90e0f/frameset.htm

Regards,

Praveen Gudapati

Former Member
0 Kudos

Hi Praveen,

I could solve the problem by setting the Authentication Scheme property value to default instead of basicauthentication in the KM Document iView (pcd:portal_content/com.sap.pct/every_user/general/iViews/com.sap.km.iviews/com.sap.km.urlaccess/com.sap.km.docs)

Thanks a lot for your help.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi

r u trying to open the document using Target URL from properties ?

if so it may ask u for authentication as described in your authentication scheme.xml

i really dont unserstand your concept of sso because portal,km are all integral part of EP and u dont need to configure SSO.

u configure SSO only for the backend system or external system

Regards,

Vijay.