WebSphere Portal Server - Invoking PortletURL.setSecure() will throw out exception....

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Portal Server > July 2005 > Invoking PortletURL.setSecure() will throw out exception....





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Invoking PortletURL.setSecure() will throw out exception....

2005-07-05, 2:49 am

I am using WPS5022 on Windows 2003 server.
I encountered this problem: whenever I call PortletURL.setSecure() there will be an exception thrown out.

The exception is:
javax.portlet.PortletSecurityException: The current implementation does assume not having a supporting security environment installed!
at org.apache.pluto.core.impl.PortletURLImpl.setSecure(PortletURLImpl.java:257)
at com.businessobjects.portlets.jsr168.enterprise.explore.ExplorerViewBean.setFormURI(ExplorerViewBean.java:17)
...

I don't think this is a problem in my code. I searched this string "The current implementation does assume not having a supporting security environment installed!
" in Google, and I fount that the PortletURLImpl.setSecure was ever implemented like this:

public void setSecure (boolean secure) throws PortletSecurityException
{
- // This implementation does assume not having a supporting security environment installed!
- if (secure == true) {
- throw new PortletSecurityException(
- "The current implementation does assume not having a supporting security environment installed!"
- );
- }
-
this.secure = secure;
}

I am not sure if WPS5022 is still using this kind of code? If it is, when the bug will be fixed in the future? Is there a plan for this?

2005-07-06, 2:49 am

can someone be so kind as to give me some information on this?

Thanks!
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com