[JBoss JIRA] Created: (GTNPORTAL-1681) Gadget proxy and cache configuration doesn't work
by Gary Hu (JIRA)
Gadget proxy and cache configuration doesn't work
-------------------------------------------------
Key: GTNPORTAL-1681
URL: https://jira.jboss.org/browse/GTNPORTAL-1681
Project: GateIn Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Reporter: Gary Hu
It seems that the Gadget proxy and cache configurations in eXoGadgetServer.war/WEB-INF/classes/containers/default/container.js don't take effect.
Here is how this issue could be reproduced.
1) create a remote gadget that includes an image, for example: <img src='http://www.google.com/images/logo_sm.gif' >
2) modify the eXoGadgetServer.war/WEB-INF/classes/containers/default/container.js
change the default setting:
"gadgets.content-rewrite" : {
"ga "include-urls": ".*",
"exclude-urls": "",
"include-tags": ["link", "script", "embed", "img", "style"],
"expires": "86400",
"proxy-url": "/eXoGadgetServer/gadgets/proxy?url=",
"concat-url": "/eXoGadgetServer/gadgets/concat?"
},
to
"gadgets.content-rewrite" : {
"ga "include-urls": ".*",
"exclude-urls": "",
"include-tags": ["link", "script", "embed", "img", "style"],
"expires": "0",
"proxy-url": "",
"concat-url": "/eXoGadgetServer/gadgets/concat?"
},
The page source shows
<img src='/eXoGadgetServer/gadgets/proxy?url=http%3A%2F%2Fwww.google.com/images/logo_sm.gif&gadget=http%3A%2F%2F16.157.132.22%3A8180%2FmyRemoteGadget.xml&fp=-182800334&refresh=86400
no matter what changes made to the container.js file.
It seems that "proxy-url" and "expires" values are hard-coded.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 1 month
[JBoss JIRA] Created: (GTNPORTAL-745) UsersRolesLoginModule exception sometimes
by Thomas Heute (JIRA)
UsersRolesLoginModule exception sometimes
-----------------------------------------
Key: GTNPORTAL-745
URL: https://jira.jboss.org/jira/browse/GTNPORTAL-745
Project: GateIn Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Reporter: Thomas Heute
Fix For: 3.0.0-GA
UsersRolesLoginModule isn't even used but sometimes on logout we have:
12:20:21,289 ERROR [UsersRolesLoginModule] Failed to load users/passwords/role files
java.io.IOException: No properties file: users.properties or defaults: defaultUsers.properties found
at org.jboss.security.auth.spi.Util.loadProperties(Util.java:198)
at org.jboss.security.auth.spi.UsersRolesLoginModule.loadUsers(UsersRolesLoginModule.java:186)
at org.jboss.security.auth.spi.UsersRolesLoginModule.createUsers(UsersRolesLoginModule.java:200)
at org.jboss.security.auth.spi.UsersRolesLoginModule.initialize(UsersRolesLoginModule.java:127)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at javax.security.auth.login.LoginContext.invoke(LoginContext.java:756)
at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
at javax.security.auth.login.LoginContext.logout(LoginContext.java:629)
at org.exoplatform.services.security.web.JAASConversationStateListener.sessionDestroyed(JAASConversationStateListener.java:66)
at org.apache.catalina.session.StandardSession.expire(StandardSession.java:702)
at org.apache.catalina.session.StandardSession.isValid(StandardSession.java:592)
at org.apache.catalina.session.ManagerBase.processExpires(ManagerBase.java:682)
at org.apache.catalina.session.ManagerBase.backgroundProcess(ManagerBase.java:667)
at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1327)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1612)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1621)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1621)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1601)
at java.lang.Thread.run(Thread.java:619)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 1 month
[JBoss JIRA] Created: (GTNPORTAL-1514) Kept old search result when search user with wrong path
by Chien Nguyen (JIRA)
Kept old search result when search user with wrong path
-------------------------------------------------------
Key: GTNPORTAL-1514
URL: https://jira.jboss.org/browse/GTNPORTAL-1514
Project: GateIn Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 3.1.0-GA
Reporter: Chien Nguyen
When we are using UIUserSelector components (in FindGroupActionListener) with following steps
# Put right name of group in Group field
# Press Enter ==> show list contain all users in group
re-search:
# Put the wrong name of group in 'Group' field
# Press enter ==> kept old result of past search. requirement is: No user is listed in the table under
The Exception when put the wrong name of group
17:38:56,046 ERROR [PortletApplicationController] Error while processing action in the porlet
java.lang.IllegalArgumentException: Group cannot be null
at org.picketlink.idm.impl.api.query.AbstractQueryBuilder.checkNotNullArgument(AbstractQuery
Builder.java:117)
at org.picketlink.idm.impl.api.query.UserQueryBuilderImpl.addRelatedGroup(UserQueryBuilderIm
pl.java:144)
at org.exoplatform.services.organization.idm.UserDAOImpl.findUsersByGroup(UserDAOImpl.java:3
35)
at org.exoplatform.services.organization.idm.UserDAOImpl.findUsersByGroup(UserDAOImpl.java:5
4)
at org.exoplatform.webui.organization.account.UIUserSelector$FindGroupActionListener.execute
(UIUserSelector.java:404)
at org.exoplatform.webui.event.Event.broadcast(Event.java:89)
at org.exoplatform.webui.core.lifecycle.UIFormLifecycle.processDecode(UIFormLifecycle.java:6
4)
at org.exoplatform.webui.core.lifecycle.UIFormLifecycle.processDecode(UIFormLifecycle.java:4
0)
at org.exoplatform.webui.core.UIComponent.processDecode(UIComponent.java:126)
at org.exoplatform.webui.core.lifecycle.UIApplicationLifecycle.processDecode(UIApplicationLi
fecycle.java:46)
at org.exoplatform.webui.core.UIComponent.processDecode(UIComponent.java:126)
at org.exoplatform.webui.application.portlet.PortletApplication.processAction(PortletApplica
tion.java:166)
at org.exoplatform.webui.application.portlet.PortletApplicationController.processAction(Port
letApplicationController.java:80)
at org.gatein.pc.portlet.impl.jsr168.PortletContainerImpl$Invoker.doFilter(PortletContainerI
mpl.java:558)
at org.gatein.pc.portlet.impl.jsr168.api.FilterChainImpl.doFilter(FilterChainImpl.java:109)
at org.gatein.pc.portlet.impl.jsr168.api.FilterChainImpl.doFilter(FilterChainImpl.java:72)
at org.gatein.pc.portlet.impl.jsr168.PortletContainerImpl.dispatch(PortletContainerImpl.java
:506)
at org.gatein.pc.portlet.container.ContainerPortletDispatcher.invoke(ContainerPortletDispatc
her.java:42)
at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:87)
at org.gatein.pc.portlet.aspects.EventPayloadInterceptor.invoke(EventPayloadInterceptor.java
:197)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 1 month