Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Can RAM be configured to present a login challenge on search

Our RAM users are passing around links which are asset searches scoped to a community.
Ex: https://myramserver.com/ram/search/index.jsp?a=fGroup%2Cmy_community

When users are not logged in, no assets show up (this is unfortunate but expected). When they are logged in they do see the correct assets.

One user suggested to me that our RAM server used to present a login challenge on this url but no longer does. How can RAM be configured to require login before searches?

0 votes



7 answers

Permanent link
Our RAM users are passing around links which are asset searches scoped to a community.
Ex: https://myramserver.com/ram/search/index.jsp?a=fGroup%2Cmy_community

When users are not logged in, no assets show up (this is unfortunate but expected). When they are logged in they do see the correct assets.


If you wish, it's possible to configure your server to allow that users not logged in can search for assets. Make this in Communities --> YourCommunity --> Users --> Individual Users --> All Users, editing the roles as you wish.

One user suggested to me that our RAM server used to present a login challenge on this url but no longer does. How can RAM be configured to require login before searches?


RAM was designed to be able to show assets even the users aren't logged in, once this is a feature I don't see any way "to force" yours users on viewing the login page.

0 votes


Permanent link
If you change your URL to
https://myramserver.com/ram/secure/search/index.jsp?a=fGroup%2Cmy_community

it will present the login page to the user before displaying search results. There is no configuration setting in RAM that will force users to login when accessing the search page.

0 votes


Permanent link
If you change your URL to
https://myramserver.com/ram/secure/search/index.jsp?a=fGroup%2Cmy_community

it will present the login page to the user before displaying search results. There is no configuration setting in RAM that will force users to login when accessing the search page.


I changed my urls to be based on
https://server.com/ram/secure/search/index.faces

This does prompt for login as you suggested. However after login I do not get search results, rather I get an error page.

Firefox gives me:
Content Encoding Error - The page you are trying to view cannot be shown because it uses an invalid or unsupported form of compression.

Chrome gives me:
The webpage at https://server.com/ram/secure/search/index.faces might be temporarily down or it may have moved permanently to a new web address.
Error 330 (net::ERR_CONTENT_DECODING_FAILED): Unknown error.

This is on RAM 7.5.0.1

0 votes


Permanent link
If you're running WAS 7 you are most likely seeing the content encoding error due to this defect. There may be more information in your ramDebug.log file.
https://jazz.net/jazz02/resource/itemName/com.ibm.team.workitem.WorkItem/45367

Does it work for URLs that contain parameters which specify search criteria? I receive a 404 for the URL
https://server.com/ram/secure/search/index.faces
but when I try the test for a URL the specifies search criteria it works.

0 votes


Permanent link
That's not a valid URL on web client.

That URL redirecting form is only available on web services. There is no
way to have a link that goes to the search page and logs you in first.

--
Rich Kulp
Rational Asset Manager developer

0 votes


Permanent link
Here's an example URL
http://129.35.213.148/ram/secure/search/_rlvid.jsp.faces?_rap=_rlnn&_rvip=/search/index.jsp&n=&txt=test

Login username/password is simon/simon

0 votes


Permanent link
Rich, Sheehan, thanks for your replies. FYI I am on WAS 6.1 with a pretty recent fixpack (35?)

Here's the results of some experiments I did with urls from Chrome.

General search:
https://csnext.ibm.com/ram/secure/search/_rlvid.jsp.faces?_rap=_rlnn&_rvip=/search/index.jsp (works)

Community scoped search:
https://csnext.ibm.com/ram/secure/search/index.jsp?a=fGroup%2Clotus_connections_java_api (fails)
https://csnext.ibm.com/ram/secure/search/_rlvid.jsp.faces?_rap=_rlnn&_rvip=/search/index.jsp&a=fGroup%2Clotus_connections_java_api (works)
https://csnext.ibm.com/ram/secure/search/_rlvid.jsp.faces?a=fGroup%2Clotus_connections_java_api (fails)

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Aug 18 '11, 3:22 p.m.

Question was seen: 10,492 times

Last updated: Aug 18 '11, 3:22 p.m.

Confirmation Cancel Confirm