websphere-portal

Websphere 7 Portal: Servlet checking for login status to Portal?

 ̄綄美尐妖づ 提交于 2019-12-12 09:51:06
问题 I run a WebSphere 7.0 Portal. One has to log in to be able to see any information which is fine for all portlets. But additionally there are a couple of servlets that a deploy in the same war file that produce some raw data for AJAX-scripts. Currently one can bypass the authentication from WebSphere Portal if one knows the URL to that particular servlet. I want to change this and check if the user is currently logged in to the Portal. How do I do this? I tried ((PumaHome) new InitialContext()

SPNEGO on IBM WebSphere Portal 6.1 with https

余生颓废 提交于 2019-12-12 04:27:47
问题 I configured IBM WebSphere Portal 6.1 on WAS7: SPNEGO, ssl with self signed certificate, default http transport (without Web Server) and changed default ports 10039, 10029 to 80, 443. After that SPNEGO works fine on http, on https displayed standard login form. Where there may be a mistake? 回答1: Did you take a look at this document: WebSphere Portal Windows SSO w/SPNEGO Mapping the user to the Kerberos Service Principal Name (SPN) When you run the setspn and the ltpass commands there should

after back button, portlet does not go in to processaction

那年仲夏 提交于 2019-12-12 01:55:15
问题 I have a portlet which involves displaying several JSP pages. In first JSP page A , when I click the Submit button on Page A the processAction() method takes action and a JSP page B appears. Now if I use Web Browser's Back button to page A and click the Submit button again, the JSP page B appears but I noticed the processAction() didn't take any action. (Usually clicking Submit button in a JSP page can result in the processAction() to take action). Can anyone help for this problem? In my

Non english file names saved in server shows as?

╄→尐↘猪︶ㄣ 提交于 2019-12-11 17:05:23
问题 When i upload non english files from an application deployed in portal server .After the file is saved .The file name changes to ??????. i have added the savefile function code for reference which gets called on saving file The Non english filename gets printed correctly in the logger wherever the logger is given to print the filename . But the filename gets saved in the server as ????. public void saveFile(java.io.InputStream is, String fileName, String fpath, String remoteUser, String

java.lang.Exception: java.lang.VerifyError: JVMVRFY012 stack shape inconsistent

非 Y 不嫁゛ 提交于 2019-12-11 14:26:56
问题 I am deploying a maven war file on websphere portal version 8.5 . While deplying , I am getting the following error ---- [10/2/17 15:43:14:658 IST] 00000131 DispatcherPor E org.springframework.web.portlet.DispatcherPortlet processRequest Could not complete request javax.portlet.PortletException: java.lang.Exception: java.lang.VerifyError: JVMVRFY012 stack shape inconsistent; class=com/ibm/_jsp/_SearchCRO, method=_jspx_meth_c_forEach_0(Ljavax/servlet/jsp/tagext/JspTag;Ljavax/servlet/jsp

navigation between jsf pages within one portlet on WebSphere Portal 8.0

孤街浪徒 提交于 2019-12-11 10:24:38
问题 I'm working on WebSphere Portal 8.0 and I am trying to make portlet with few faces. Can anyone share with me how can I make a simple link to other JSF site within one portlet? I mean, I was trying to use this, but it doesn't work: <h:outputLink value="page2.xhtml"> <h:outputText value="take me to the page2" /> </h:outputLink> I'm redirected to the misterious link but I would like to stay on the same site but change face in this single portlet. 回答1: I have got answer. If you want use GET, use

Get parameters from URL under portal enviroment on WPS7

巧了我就是萌 提交于 2019-12-11 08:19:30
问题 I want to get parameter from a URL under portlet environment. The URL i am using to open a portlet is http://localhost:10039/wps/myportal/myPortlet?recId=100 When the portlet opens the URL changes and looks like *http://localhost:10039/wps/myportal/myPortlet/!ut/p/b1/dY7LcoIwAAC_hQ9wElQSckwJ8lLEgjxyYbDTBAQMgkXHr7ft9Nq97cweFnBQmEhfGUtMdJADfqnmRla3Rl2q7sc5Kt_I0d1RxCCOyAZ6EQl8a29CSA3gAy47dfpOU1aoB1NUMsrEerIUz7lu0vma1pY9hNTZRbXZx8jYP8-SBSv_OibxLD66fnwvknYom9xPMzkK9awT

@ModelAttribute spring mvc portlets and ajax form submit

落爺英雄遲暮 提交于 2019-12-11 06:51:25
问题 Sorry for my poor english. I have many things going on in my mind which are confusing me literally. I want to handle the form submitted values as @ModelAttribute which is confusing me in the first place. Without using the @ModelAttribute I am good and have everything working perfectly. My requirements are to handle ajax form submit in portlets and spring mvc 3.0 annotations Form I have <portlet:resourceURL var="userURL" id="addUser" escapeXml="false" /> <form id="<portlet:namespace />User>

Explicitly Logout the User programmatically in Websphere Portal 8 & redirect to the default login page

一个人想着一个人 提交于 2019-12-10 19:53:01
问题 I am a bit new to WS portal & have a requirement wherein on a specific scenario we want the user to logout & redirect him to the default portal login page. I have tried to invalidate the session clear the cookies & do a response.sendRedirect as in response.sendRedirect("/wps/myportal/") ; , but in vain. Please guide. 回答1: You can configure logout page using wp_configservice : redirect.logout=true redirect.logout.ssl=false redirect.logout.url=protocol://host_name/logout_page After configuring

Websphere 8.0 and Java 1.7

帅比萌擦擦* 提交于 2019-12-10 14:20:09
问题 we're currently using Websphere 8.0.0.7 which runs with Java 1.6. Unfortunately, some of the portlets we would like to integrate into the portal need Java 1.7 to run. Is there any (simple) way to use Java 1.7 under Websphere 8.0.0.7? I found a lot of answers for Websphere 8.5, but especially not for 8.0. Is the use of 1.7 even possible? Thanks a lot for your effort! Philipp 回答1: WAS 8.0 will not support JAVA 7 (1.7). http://publib.boulder.ibm.com/infocenter/prodguid/v1r0/clarity-reports