[jboss-user] [JBoss Portal] - default page
JBossPortal 2.7.0 I would quite like to define a page hierarch like this: my portal page 1 page 1.1 page 1.2 page 1.3 page 2 page 2.1 page 2.2 It is possible to create such a hierachy and the result would be navigation menu like this: page 1page 2 page 1.1 page 2.1 page 1.2 page 2.2 Ideally I would like page 1 and page 2 to be empty pages and when clicking on the menu page 1 to be directed to page 1.1. Is this possible? I noticed that in the Portal Admin Interface there is an option to set a page to the default page. Thanks, Anette View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4194092#4194092 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4194092 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - recrusive pages
It is possible to create pages within pages in Portal Admin interface of the JBoss Portal 2.7. However the navigation bar only display the first two levels. Is it possible to increase the page levels displayed in the navigation bar? Thanks, Anette View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4194100#4194100 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4194100 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - WSRP: failed to configure remote producer as described in Re
JBossAS 4.2.3 JBossPortal 2.7 JDK 1.6 (installed the Portal from the JBoss AS and JBoss Portal bundle) I am new to Web Services for Remote Portlets and are reading through Chapter 15 A Web Services for Remote Portlets (WSRP) of the JBoss Portal Reference Manual. I tried to configure access to remote a WSRP Producer as described in 15.6.2.1. Using the configuration portlet. The WSDL URL I used is: http://wsrp.bea.com:7001/producer/producer?WSDL However I get the Exception: java.lang.RuntimeException: java.lang.RuntimeException: Couldn't initialize services for WSDL at 'http://wsrp.bea.com:7001/producer/producer?WSDL' Cause:java.lang.RuntimeException: Couldn't initialize services for WSDL at 'http://wsrp.bea.com:7001/producer/producer?WSDL' Please note that since I am running JBoss AS behind a firewall/poxy (http://www.jboss.org/community/docs/DOC-12633) 1. I specified the proxy settings in the run.bat of JBoss AS by adding the line: | set JAVA_OPTS=%JAVA_OPTS% -Dhttp.proxyHost=MyProxy -Dhttp.proxyPort=8080 -DproxySet=true | 2. Upgraded to JBoss WS 3.0.4. | | Any idea how to get it to run? Please find below the complete JBoss log. | | Thanks, | | Anette | | 2008-12-02 16:10:05,971 INFO [org.jboss.portal.wsrp.services.RemoteSOAPInvokerServiceFactory] Retrieving WSDL from http://wsp.bea.com:7001/producer/producer?WSDL | | 2008-12-02 16:10:05,971 DEBUG [org.jboss.portal.wsrp.services.RemoteSOAPInvokerServiceFactory$WSDLLocatorImpl] getBaseInputSource [wsdlUrl=http://wsp.bea.com:7001/producer/producer?WSDL] | | 2008-12-02 16:10:07,091 INFO [org.jboss.portal.wsrp.services.RemoteSOAPInvokerServiceFactory] Couldn't access WSDL information. Service won't be available | | java.lang.RuntimeException: Couldn't initialize services for WSDL at 'http://wsp.bea.com:7001/producer/producer?WSDL' | | at org.jboss.portal.wsrp.services.RemoteSOAPInvokerServiceFactory.initServices(RemoteSOAPInvokerServiceFactory.java:124) | | at org.jboss.portal.wsrp.services.RemoteSOAPInvokerServiceFactory.setWsdlDefinitionURL(RemoteSOAPInvokerServiceFactory.java:88) | | at org.jboss.portal.wsrp.consumer.EndpointConfigurationInfo.internalSetWsdlURL(EndpointConfigurationInfo.java:311) | | at org.jboss.portal.wsrp.consumer.EndpointConfigurationInfo.initServiceFactoryIfNeeded(EndpointConfigurationInfo.java:262) | | at org.jboss.portal.wsrp.consumer.EndpointConfigurationInfo.start(EndpointConfigurationInfo.java:330) | | at org.jboss.portal.wsrp.consumer.WSRPConsumerImpl.startService(WSRPConsumerImpl.java:532) | | at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) | | at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:196) | | at org.jboss.portal.jems.as.system.AbstractJBossService.start(AbstractJBossService.java:73) | | at org.jboss.portal.wsrp.consumer.WSRPConsumerImpl.internalStart(WSRPConsumerImpl.java:478) | | at org.jboss.portal.wsrp.consumer.WSRPConsumerImpl.refresh(WSRPConsumerImpl.java:515) | | at org.jboss.portal.wsrp.admin.ui.ConsumerManagerBean.internalRefresh(ConsumerManagerBean.java:237) | | at org.jboss.portal.wsrp.admin.ui.ConsumerManagerBean.refresh(ConsumerManagerBean.java:303) | | at org.jboss.portal.wsrp.admin.ui.ConsumerBean.refreshConsumer(ConsumerBean.java:412) | | 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 org.apache.el.parser.AstValue.invoke(AstValue.java:131) | | at org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276) | | at com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68) | | at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:88) | | at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102) | | at javax.faces.component.UICommand.broadcast(UICommand.java:387) | | at org.ajax4jsf.component.AjaxViewRoot.processEvents(AjaxViewRoot.java:321) | | at org.ajax4jsf.component.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:296) | | at org.ajax4jsf.component.AjaxViewRoot.processPhase(AjaxViewRoot.java:253) | | at org.ajax4jsf.component.AjaxViewRoot.processApplication(AjaxViewRoot.java:466) | | at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82) | | at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100) |
[jboss-user] [Installation, Configuration DEPLOYMENT] - JBoss 4.0.4: Classloader not found exception when deploying
(JBoss 4.0.4, JDK 1.5) I have two web applications, which are using the same jar file and are to be deployed on the same JBoss AS instance. In both cases the jar file will be included in the WEB-INF/lib, as potentially they will be using different version of the jar file. Both appplications are running fine when deployed on two different machines. However I have problems when deploying both WAR files on the same JBoss AS instance: For one particular command I get a Exception: 1:05:54,114 ERROR [[schedulerServiceExporter]] Servlet.service() for servlet schedulerServiceExporter threw exception | java.lang.ClassNotFoundException: No ClassLoaders found for: com.dns.quartz.jobs.RunTaskJob | at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:306) | at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:511) | at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:405) | at java.lang.ClassLoader.loadClass(ClassLoader.java:251) | at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) | at java.lang.Class.forName0(Native Method) | at java.lang.Class.forName(Class.java:242) | at java.io.ObjectInputStream.resolveClass(ObjectInputStream.java:585) | at org.springframework.remoting.rmi.CodebaseAwareObjectInputStream.resolveClass(CodebaseAwareObjectInputStream.java:104) | at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1544) | at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466) | at java.io.ObjectInputStream.readClass(ObjectInputStream.java:1433) | at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1288) | at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1908) | at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1832) | at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719) | at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305) | at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1634) | at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299) | at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1908) | at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1832) | at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719) | at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305) | at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348) | at org.springframework.remoting.rmi.RemoteInvocationSerializingExporter.doReadRemoteInvocation(RemoteInvocationSerializingExporter.java:124) | at org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter.readRemoteInvocation(HttpInvokerServiceExporter.java:117) | at org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter.readRemoteInvocation(HttpInvokerServiceExporter.java:96) | After reading: http://wiki.jboss.org/wiki/ClassLoadingConfiguration http://java2.5341.com/msg/68202.html I tried several scenarios to solve my problem but neither of these have worked: 1. Set the attribute Java2ClassLoadingCompliance in JBOSS_HOME\server\default\deploy\jbossweb-tomcat55.sar\conf\jboss-server.xml to a) true and b) false 2. Add the line to the jboss-web.xml of the first war file: loader-repositorycom.dns:loader=my-webapp1.war/loader-repository and add the line tothe jboss-web.xml of the second war file loader-repositorycom.dns:loader=my-webapp2.war/loader-repository 3. Add the lines to both jboss-web.xml: loader-repository-configjava2ParentDelegation=false/loader-repository-config | I am running out of ideas. Did anyone have similar problems and found a work around? Thanks, Anette View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4165838#4165838 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4165838 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - invalid post request redirected to https://localhost:8443/po
I am currently testing a set of portlets I have developed for our company portal (JBoss Portal 2.4). Security is a very important and part of the tests are sending portlet requests as user, who has no access to these particular portlets. Todo so so I am using the Live Http Replay Tool in Firefox. I will record requests done as a user, who can access aparticlar portlet and then replay the requests when logged in as a user, who does not have access to the portlet. When replaying a get request HTTP Status 401 is returned. However when replaying a post request the request is redirecteted to https://localhost:8443/portal/authsec/ Is there a way to configure the portal to send HTTP Statuts 401 instead of redirecting the request? Thanks, Anette View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4139218#4139218 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4139218 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - reset render parameters on page selection (JBoss Portal 2.4
Is it possible to reset the render parameter for all portlets on a page or the entire portal? And how could I achieve this? I am using the JBoss Portal 2.4 and there are two occasions where I would like to present the default view of a page to a user (i.e. the view he sees when visiting the page for the first time). - every time the users visits a page (currently if a user revists a page he is presented with the previous selections made in each portlet) - users can work in a realm/context. A user can change his context at any time in which case all portlets in the portal should be reset to the default view. I basically want to remove the render parameters for all portlets in the portal when the user either selects a new page or changes the context. However I am not sure how to do this. Thanks, Anette View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4116161#4116161 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4116161 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Radius AAA server + JAAS
I need to integrate jboss + RADIUS server for AAA. Is there a radius login module for JBoss Authentication? Thanks, Anette View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4107141#4107141 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4107141 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Running JBoss AS as a window service with JBossNative: probl
I want to run JBoss AS as a window service. I am using JBossNative and it worked fine on my own machine (MS Windows XP Professional 2002). However I have problems stopping the service in our test environment (MS Windows Server 2003 Enterprise Edition). When stopping the service I get the error (I have renamed the service name from JBAS42SVC to JBossAS404SVC): C:\jboss-4.0.4.GA\binnet stop JBossAS404SVC | The service is not responding to the control function. | | More help is available by typing NET HELPMSG 2186. Rerunning the stop command returns the message: C:\jboss-4.0.4.GA\binnet stop JBossAS404SVC | The JBoss Application Server 4.0.4 service is not started. | | More help is available by typing NET HELPMSG 3521. Looking at the task manager I can see that the jbosssvc.exe is gone but the java.exe is still running and my web site is still up and running. The only way out is to kill the java.exe (not nice). Did anyone have similar problems and how can I fix it? I am using: - JBoss AS 4.0.4 - JBoss Native 2.0.1 Windows 32 package - jdk1.5.0_11 Or is there an alternative to JBossNative if I want to run JBoss AS as a windows service? Alternatives known to me are: JavaService (http://javaservice.objectweb.org): I am not fond of it as I never got it to run. Java Service Wrapper (http://wrapper.tanukisoftware.org): which I was using so far. However I need to change the default Sun Memory allocation settings and there actually seems to be a bug with this (http://wiki.jboss.org/wiki/Wiki.jsp?page=RunJBossAsAServiceOnWindows). So it is not an option for me. Thanks, Anette View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4096455#4096455 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4096455 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Running JBoss AS as a window service with JBossNative: p
The problem was in the configuration of the JBoss AS on dev. It had been slimmed down (http://www.jboss.org/wiki/Wiki.jsp?page=JBossASTuningSliming) and the JMX invoker service had been removed. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4096497#4096497 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4096497 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Portal 2.6 LDAP Authentication
Is it possible to use the LDAP Authentication without synchronizing the users? My problem with the sychronization with users is that I do not want their password to be stored in the Portal database even so they are encrypted. Thanks, Anette View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4077249#4077249 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4077249 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Debugging a web application - Eclipse 3.3, JBossAS
My current development environment is: - JBoss AS 4.0.4 (I am developing a portal based on JBoss Portal 2.4 and are stuck with that version for the time being) - Eclipse 3.1.2 - JBoss-IDE 1.6 I am thinking of using BIRT 2.2 in which case I will have to upgrade to Eclipse 3.3 (I think this is mainly because BIRT 2.2 depends on Eclipse SDK 3.3, GEF 3.3, EMF 2.3, DTP 1.5, and WTP 2.0). Is it possible to debug my applications deployed on the JBossAS in Eclipse 3.3 without having the JBoss-IDE installed? Thanks, Anette View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4069527#4069527 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4069527 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Help: Instance of a existent portlet in my new container
You need to add a NavigationWindow which references an instance of the NavigationPortlet and is placed into the region navigation to your page description: | ?xml version=1.0 encoding=UTF-8? | deployments |deployment | if-existsoverwrite/if-exists | parent-refdefault/parent-ref | page | page-nameHelloWorldPContainerPage/page-name | window | window-nameNavigationPortletWindow/window-name | instance-refNavigationPortletInstance/instance-ref | regionnavigation/region | height0/height | !-- keep portal and page properties for this window -- | properties |!-- use the window renderer from the emptyRenderer renderSet -- |property | nametheme.windowRendererId/name | valueemptyRenderer/value |/property |!-- use the decoration renderer from the emptyRenderer renderSet -- |property | nametheme.decorationRendererId/name | valueemptyRenderer/value |/property |!-- use the portlet renderer from the emptyRenderer renderSet -- |property | nametheme.portletRendererId/name | valueemptyRenderer/value |/property | /properties | /window | window | window-nameHelloWorldPortletWindow/window-name | instance-refHelloWorldPortletInstance/instance-ref | regioncenter/region | height1/height | /window | /page |/deployment | /deployments | For an example have a look at: jboss-portal.sar\portal-samples.war\WEB-INF\default-object.xml Anette View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4051463#4051463 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4051463 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - CMSPortlet: problems with IE, https and links referencing PD
I am using the CMSPortlet on one of my pages. The content of the pages references a PDF file. When I click on the link I get the following error: Internet Explorer cannot download xxx.pdf from localhost. The file could not be written to the cache. The problem only occurs with Internet Explorer and https. The following error messages is thrown: 09:43:46,718 ERROR [PortalServlet] Unexpected exception | java.lang.IllegalStateException | at org.apache.catalina.connector.ResponseFacade.sendError(ResponseFacade.java:404) | at org.jboss.portal.core.cms.command.StreamContentCommand.execute(StreamContentCommand.java:123) | at org.jboss.portal.core.command.ControllerCommand.dispatch(ControllerCommand.java:84) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:141) | at org.jboss.portal.core.aspects.controller.EventBroadcasterInterceptor.invoke(EventBroadcasterInterceptor.java:168) | at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:38) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131) | at org.jboss.portal.core.aspects.controller.PageNavigationInterceptor.invoke(PageNavigationInterceptor.java:103) | at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:38) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131) | at org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor.invoke(PolicyEnforcementInterceptor.java:79) | at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:38) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131) | at org.jboss.portal.core.aspects.controller.PortalNodeInterceptor.invoke(PortalNodeInterceptor.java:59) | at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:38) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131) | at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:171) | at org.jboss.portal.core.command.CommandContext.execute(CommandContext.java:102) | at org.jboss.portal.core.command.ExecutionContext.execute(ExecutionContext.java:92) | at org.jboss.portal.core.command.ExecutionContext.execute(ExecutionContext.java:79) | at org.jboss.portal.core.CoreController.handle(CoreController.java:130) | 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:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.mx.util.JMXInvocationHandler.invoke(JMXInvocationHandler.java:287) | at $Proxy141.handle(Unknown Source) | at org.jboss.portal.server.ServerInvocation.dispatch(ServerInvocation.java:80) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:141) | at org.jboss.portal.server.aspects.server.NavigationInterceptor.invoke(NavigationInterceptor.java:65) | at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131) | at org.jboss.portal.server.aspects.server.ContentTypeInterceptor.invoke(ContentTypeInterceptor.java:65) | at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131) | at org.jboss.portal.core.aspects.server.LocaleInterceptor.invoke(LocaleInterceptor.java:73) | at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131) | at org.jboss.portal.core.aspects.server.UserInterceptor.invoke(UserInterceptor.java:175) | at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131) | at
[jboss-user] [JBoss Portal] - Re: CMSPortlet: problems with IE, https and links referencin
This is a known issue for IE (as usual it is called a feature): http://support.microsoft.com/?id=316431 A work around is to disable cache control: http://wiki.jboss.org/wiki/Wiki.jsp?page=DisableCacheControl I solved my problem by adding a context.xml to JBOSS_HOME/server/default/deploy/jboss-portal.sar/portal-server.war/WEB-INF Context | Valve className=org.apache.catalina.authenticator.FormAuthenticator | disableProxyCaching=false / | /Context Anette View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4044632#4044632 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4044632 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: How can i get portlet instance id
Do you really want a different processing to be dependant on the portlet instance id? Surely your portlet code should depend on a portlet instance. Wouldn't it be better to add a property to your portlet and depending on the value of the property you have a different processing. That way you can create portlet instances with different processing. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4042755#4042755 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4042755 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Sharing the portal security domain with a servlet
I quite like to share the security domain of the portal with a servlet which is in the same application context as my portlets. (The task of the servlet is to generate some images on-the-fly, but it needs to know the security context as only authenticated and authorized users are allowed to view the generated images). Looking at the description in http://wiki.jboss.org/wiki/Wiki.jsp?page=SecureAWebApplicationInJBoss I tried the following steps: 1. I moved the portal security domain from the login configuration for the portal (JBOSS_HOME/default/deploy/jboss-portal.sar/conf/data/login-config.xml) to the JBoss AS login configuration JBOSS_HOME/default/conf/login-config.xml). application-policy name=portal | authentication | login-module code=org.jboss.portal.identity.auth.IdentityLoginModule flag=sufficient | module-option name=unauthenticatedIdentityguest/module-option | module-option name=userModuleJNDINamejava:/portal/UserModule/module-option | module-option name=roleModuleJNDINamejava:/portal/RoleModule/module-option | module-option name=additionalRoleAuthenticated/module-option | module-option name=password-stackinguseFirstPass/module-option | /login-module | | login-module code=org.jboss.security.auth.spi.LdapExtLoginModule flag=required | | !-- my ldap configuration -- | | /login-module |/authentication | /application-policy 2. Configured the web.xml in my application context to secure my servlet ?xml version=1.0? | !DOCTYPE web-app PUBLIC |-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN |http://java.sun.com/dtd/web-app_2_3.dtd; | web-app | | servlet | servlet-nametest/servlet-name | display-nametest/display-name | servlet-classTestServlet/servlet-class | /servlet | | servlet-mapping | servlet-nametest/servlet-name | url-pattern/test/url-pattern | /servlet-mapping | | | security-constraint | web-resource-collection | web-resource-nametest/web-resource-name | url-pattern/test/url-pattern | /web-resource-collection | auth-constraint | role-namemyrole/role-name | /auth-constraint | /security-constraint | | security-role | role-namemyrole/role-name | /security-role | security-role | /web-app 3. Configured the jboss-web.xml in my application context to point the portal security domain jboss-web |security-domainjava:jaas/portal/security-domain | /jboss-web The view.jsp of my portlet references the servlet %@ taglib uri=http://java.sun.com/portlet; prefix=portlet% | %@ page isELIgnored=false% | | portlet:defineObjects / | pTest Portlet Servlet Interaction/p | iframe src=?my-web-app/test? / The servlet currently prints out the remote user name (request. getRemoteUser()) and test if the user is in role ?myrole? (request.isUserInRole(?myrole?)) With the security constraint in place I get an HTTP Status 403 - Access to the requested resource has been denied in my iframe. If I remove the security constraint that the ouput in my iframe tells me that the remote user is null and returns false for reques.isUserInRole(?myrole?). Is it possible that a serlvet shares the same security domain as my portlets? If yes, what am I doing wrong? Thanks, Anette View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4042510#4042510 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4042510 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Content Management / CMSPortlet
I created a new portal myportal. Some pages will contain static HTML content which will change on a monthly basis. I uploaded the HTML files using the CMS Admin Portlet in the folder /mydocs and changed all the links on the page and added the prefix: myfolder/. Using the Management Portlet I created a new instance of the CMSPortlet, set the property indexpage to /mydocs/index.html and placed the new instance in a window in page ?mypage? in ?myportal?. The content of the index page will be displayed in ?mypage? in ?myportal?. However when clicking on any link in page the result will be displayed in DefaultCMSPortletWindow on the default page in the default portal. Is it possible to configure the CMSPortlet so that the content of a link is displayed in the original window? Does anyone have experience with a Content Management System based on JSR 168 which can be integrated with the JBoss Portal and which does not only offer the facility of uploading files but also provides a portlet for displaying the content in different windows, pages and portals? In particular the result of links has to be displayed in the source window. Thanks, Anette View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039156#4039156 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039156 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Content Management / CMSPortlet
I was using JBoss Portal 2.4.1. The problem as I described above has been resolved in JBoss Portal 2.4.2. Thanks for resolving the issue in 2.4.2! Anette View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039205#4039205 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039205 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Sharing information between portlet applications
Is it possible to share information between portlets in different portlet applications? Thanks, Anette View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038448#4038448 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038448 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Custom Window State
Does the JBoss Portal (2.4) support custom window states? Which class do I need to overwrite if I want to add my custom window state? For printing the content of a portlet I quite like to introduce a custom window state 'print' which is mapped by by layout descriptor to print.jsp, which will only display the portlet without heading or navigation. layouts |layout | namemylayout/name | uri/layouts/mylayout/index.jsp/uri | uri state=maximized/layouts/mylayout/maximized.jsp/uri | uri state=print/layouts/mylayout/print.jsp/uri | regions | region name=left/ | region name=center/ | region name=navigation/ | /regions |/layout | /layouts Is that possible? Thanks, Anette View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4037913#4037913 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4037913 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Custom Window State
Hi Antoine, Sorry I can't help you as I only used Acegi to login but didn't do any filtering and I haven't used it since. I am currently using the LdapExtLoginModule to authenticate against my LDAP server which is sufficient for the time being. With regards to custom window states I have added the my custom window state to the portal descriptor: deployments | deployment | parent-ref / | if-existsoverwrite/if-exists | portal | portal-namemyportal/portal-name | : | supported-modes | modeview/mode | /supported-modes | supported-window-states | window-statenormal/window-state | window-statemaximized/window-state | window-stateprint/window-state | /supported-window-states | : | /deployement | /deployements I have added the custom window state to the portlet descriptor: ?xml version=1.0 encoding=UTF-8? | portlet-app | : | custom-window-state | descriptionwindow without header and menu for printing/description | nameprint/name | /custom-window-state | /portlet-app The portal accepts the window state but uses the default jsp 'index.jsp'. I don't know what I have to do for the portal to use the 'print.jsp' Best Regards, Anette View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4037957#4037957 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4037957 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - ActionRequest setAttribute
According to the JSR 168 Spec PLT 11.1 PortletRquest Interface, Section PLT 11.1.13 anonymous wrote : Request attributes are objects associated with a portlet during a single portlet request. Request attributes may be set by the portlet or the portlet container to express information that otherwise could not be expressed via the API. Request attributes can be used to share information with a servlet or JSP being included via the PortletRequestDispatcher. This suggests that an attribute set in the ActionRequest should be propagated to a JSP. But if I set an attribute in processAction: public void processAction(ActionRequest request, ActionResponse response) throws PortletException | { | // some processing done here | request.setAttribute(myattribute, some object); | } then it does not get propagated to my JSP and the result of % MyObject oby = (MyObject)renderRequest.getAttriubte(myattribute); % is null. Is this a bug or do I misinterpret the JSR 168 Spec? Either way it's a shame as this means I have to stick all information to the PortletSession even if it's related to a specific request. From Servlets I am used to sticking objects created while handling a request into a request attribute rather then a session attribute (unless it's information which I will need for future requests like user information). Best Regards, Anette View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4037074#4037074 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4037074 ___ jboss-user mailing list [EMAIL PROTECTED] https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: ActionRequest setAttribute
O.K. I understand. Unfortunately using the render parameters is not an option as they are limited to string objects. (My processAction fetches tabular data from a database represented by an ArrayList). Thanks, Anette View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4037117#4037117 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4037117 ___ jboss-user mailing list [EMAIL PROTECTED] https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: dashboard unavailable when going trough LDAP
I had a similar problem a while ago (http://www.jboss.com/index.html?module=bbop=viewtopict=103675). Your users needs to have the role 'Authenticated'. I am using LDAP authentication as well. All my users have the role 'Authenticated'. Furthermore I have added all the roles I use in my LDAP server to the Portal database in order to be able to use these roles to define the access to my portal pages and portlets. Hope that helps, Anette View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4035921#4035921 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4035921 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: JBoss 4.05GA + JPortal 2.4 javascript problem
Replace the location /js/mylib.js with %= renderRequest.getContextPath() %/js/mylib.js i.e. script type=text/javascript src=%= renderRequest.getContextPath() %/js/mylib.js/script Best Regards, Anette View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4035950#4035950 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4035950 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Sharing portal security realm with a servlet
I have a servlet MyServlet which is deployed in the same war file as a portlet MyPortlet. The view of MyPortlet references the MyServlet to generate some content: %@ taglib uri=http://java.sun.com/portlet; prefix=portlet % | %@ page isELIgnored=false % | portlet:defineObjects/ | table width=100% cellpadding=2 border=0 | tr |td class=portlet-section-body | MyPortlet |/td | /tr | tr |td class=portlet-section-body | img src=%= request.getContextPath() %/MyPortlet / |/td | /tr | /table Is it possible for the servlet to share the same security realm i.e. so that the request.getRemoteUser(); | request.getPrinicipal() ; return the current user and request.isUserInRole(MyUser) ; returns true? I declared the role MyUser in the web.xml: web-app |servlet | servlet-nameMyPortlet/servlet-name | display-nameMyPortlet/display-name | servlet-classMyPortlet/servlet-class |/servlet | |servlet-mapping | servlet-nameMyPortlet/servlet-name | url-pattern/MyPortlet/url-pattern |/servlet-mapping | | security-role | role-nameMyUser/role-name | /security-role | /web-app Additionally I have added the jboss-web.xml file to the WEB-INF directory and added the line: jboss-web |security-domainjava:jaas/portal/security-domain | /jboss-web This doesn't seem to do the trick? Am I missing something or can servlet not share the security realm of the portal?a (The servlet should be only accessible to authenticated users i.e. I quite like to add some security constraint to the web.xml for the servlet) Thanks, Anette View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4033073#4033073 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4033073 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Handle HTTP errors or Exceptions gracefully
I quite like to configure my portal or my portlets to go to an error page if an exception or Http Error is thrown. To so I have added the usual error page elements to the web.xml of my portlet as well as to the web.xml file in jboss-portal.sar/portal-server.war/WEB-INF: error-page | error-code500/error-code | location/error.jsp/location | /error-page | : | : | error-page | exception-typejavax.portlet.PortletException/exception-type | location/error.jsp/location | /error-page There is a error.jsp in the root of my portlet as well as in jboss-portal.sar/portal-server.war diretory. Despite this the generic HTTP Status 500 error page generated by Tomcat is displayed when my portlet throws a PortletException. Does anyone know how to configure the portal or a portlet to display a specified error page if a HTTP error or Exception is thrown. Thanks, Anette View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4031977#4031977 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4031977 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Portal Authentication with Acegi
I have managed to use Acegi Security for Authentication: Portal Authentication with Acegi To use Acegi Security for authentication open the login-config.xml in JBOSS_HOME\server\default\deploy\jboss-portal.sar\config. Change the flag of org.jboss.portal.identity.auth.IdentityLoginModule to ?sufficient? and add new login-module configuration using the org.acegisecurity.adapters.jboss.JbossAcegiLoginModule Login Module. application-policy name=portal | authentication | login-module code=org.jboss.portal.identity.auth.IdentityLoginModule flag=sufficient | module-option name=unauthenticatedIdentityguest/module-option | module-option name=userModuleJNDINamejava:/portal/UserModule/module-option | module-option name=roleModuleJNDINamejava:/portal/RoleModule/module-option | module-option name=additionalRoleAuthenticated/module-option | module-option name=password-stackinguseFirstPass/module-option | /login-module | | login-module code = org.acegisecurity.adapters.jboss.JbossAcegiLoginModule | flag = required | module-option name = appContextLocationacegisecurity.xml/module-option | module-option name = keymy_password/module-option | /login-module | /authentication |/application-policy The value in the appContextLocation is the name of the the acegi security configuration file e.g. in the example acegisecurity.xml. Copy the acegi security configuration file to the directory: JBOSS_HOME\server\default\deploy\jboss-portal.sar\portal-server.war\WEB-INF The acegi configuration file contains the spring context definition including all the authentication manager beans (For more information consult the Acegi Security documentation). For Portal Authentication it is sufficient to define the authentication manager. ?xml version=1.0 encoding=UTF-8? | !DOCTYPE beans PUBLIC -//SPRING//DTD BEAN//EN http://www.springframework.org/dtd/spring-beans.dtd; | | beans | | bean id=authenticationManager | class=org.acegisecurity.providers.ProviderManager | property name=providers | list | ref bean=daoAuthenticationProvider / | /list | /property | /bean | | | bean id=daoAuthenticationProvider | class=org.acegisecurity.providers.dao.DaoAuthenticationProvider | property name=userDetailsService ref=userDetailsService / | /bean | | bean id=userDetailsService | class=org.acegisecurity.userdetails.memory.InMemoryDaoImpl | property name=userMap | value | myadmin=myadmin,Admin,Authenticated, | myuser=mysuser,User,Authenticated | /value | /property | /bean | | /beans Another approach is to use the second approach is to use Spring singleton capabilities for more information see: http://sun.calstatela.edu/~cysun/documentation/acegi/acegi.html#ca-jboss My next step will be to use Acegi Security within Portlets. Has anyone experience with this? Best Regards, Anette View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4028742#4028742 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4028742 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Using alternative source for JBoss Portal authentication
For anyone following this thread: I have finally managed to authenticate using Acegi Security. For information see: http://www.jboss.com/index.html?module=bbop=viewtopicp=4028742#4028742 Regards, Anette View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4028744#4028744 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4028744 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Using alternative source for JBoss Portal authentication
I came across some documentation about the org.acegisecurity.adapters.jboss.JbossAcegiLoginModule which may be used to integrate Acegi in JBoss Portal. I haven't yet had the time to test it but here is the link. http://sun.calstatela.edu/~cysun/documentation/acegi/acegi.html#ca-jboss Regards, Anette View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4027920#4027920 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4027920 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Using alternative source for JBoss Portal authentication
I haven't had the time to try to integrate my portal with Acegi yet. If I can figure out how, I will post it here. Best Regards, Anette View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4027488#4027488 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4027488 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Using alternative source for JBoss Portal authentication
Thanks a lot for your help. I added the role Authenticated and everything is working fine. Personalization is not important to my application. The security aspect is what I am really interested in i.e. to be able to configure which pages and portlets a user can access depending on their roles. It seems that as long as I set up the roles in the portal database I can use a UsersRoleLoginModule for authentication and roles a user have. (I hope this works for the LDAPExtLoginModule as well). The roles will be fixed and I am happy to set them up in the portal database. Synchronizing user data with the Portal database is not an option for various reasons. Best Regards, Anette View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4027109#4027109 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4027109 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Using alternative source for JBoss Portal authentication
I quite like to use the JBoss Portal, but have to use an LDAP Server for authentication and retrieving the roles of a user. I have read through the Wiki Entry: http://wiki.jboss.org/wiki/Wiki.jsp?page=UsingAnLDAPSourceForPortalAuthentication Some of the portlets need a fine-grained access a rights and I am considering using Acegi security for this. Since I am quite new to all of this I thought I start simple. Instead of adding a new login-module using the org.jboss.security.auth.spi.LdapExtLoginModule as described in above Wiki I added a new login-module using org.jboss.security.auth.spi.UsersRolesLoginModule and set the flag of org.jboss.portal.identity.auth.IdentityLoginModule to ?sufficient?. So my new login.config.xml in JBOSS_HOME/server/default/deploy/jboss-portla.sar/conf/ looks like: !-- For the JCR CMS -- application-policy name=cms login-module code=org.apache.jackrabbit.core.security.SimpleLoginModule flag=required/ /application-policy application-policy name=portal login-module code=org.jboss.portal.identity.auth.IdentityLoginModule flag=sufficient module-option name=unauthenticatedIdentityguest/module-option module-option name=userModuleJNDINamejava:/portal/UserModule/module-option module-option name=roleModuleJNDINamejava:/portal/RoleModule/module-option module-option name=additionalRoleAuthenticated/module-option module-option name=password-stackinguseFirstPass/module-option /login-module login-module code=org.jboss.security.auth.spi.UsersRolesLoginModule flag = required module-option name=usersPropertiesprops/portal-users.properties/module-option module-option name=rolesPropertiesprops/portal-roles.properties/module-option /login-module /application-policy I added the portal-users.properties and portal-roles.properties to the correct location. portal-roles.properties: # A sample users.properties file for use with the UsersRolesLoginModule first=first second=second portal-roles.properties first=Administrators,Admin second=Users,User When logging in as first or second user I get the error message: HTTP Status 403 - Access to the requested resource has been denied Questions: - Is it possible use integrate an alternative LoginModule e.g. UsersRolesLoginModule or org.jboss.security.auth.spi.LdapExtLoginModule to define Authenication and the roles of the users? - Has anyone successfully integrated an external LDAP Directory server which also supplies the roles of the user? - Has anyone successfully integrated AcegiSecurity for authentication and retrieving the roles of a user e.g. by using the LoginModule: org.acegisecurity.adapters.jboss.JbossAcegiLoginModule? How do I configure the login-module.xml? I have just read through a similar Forum Entry: http://www.jboss.com/index.html?module=bbop=viewtopict=103606 Do I have to sychronize all users in my LDAP directory with the portal database in order to define the role of users? I don?t think it is a practical option for us to maintain two systems in which we hold user information. Thanks, Anette View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4026583#4026583 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026583 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - JBoss Portal Acegi
I am thinking of using Ageci in a JBoss Portal to - Authenticate a user - Restrict access to accessing Portal Pages - Implement a fine-grained authorization within the portlets, which will be based on the Spring Portlet MVC framework Has anyone used Ageci for authentication and authorization within JBoss Portal? Thanks, Anette View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4019508#4019508 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4019508 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Permissions Portal Pages and Portlets
I'm using Jboss portal 2.4.0 and Jboss AS 4.0.4 GA. Portal Page Permissions When I create a new page the security setting for the page for Unchecked is set to viewrecursive, but I would like to restrict the access to the page to certain admininstrators only. How can I achieve this? Portlet Permissions -- Within a portal page I have a Portlet A and a Portlet B. I would like to restrict the access of Portlet A to Administrators. I went to the security settings page for the portal page and set the security setting from viewrecursive to view for all users. Then I went to the security settings for Portlet A and set the security settings only an Administrator to View. Despite this Portlet A can be viewed by whoever can access the page. How can change the settings to achieve my goal i.e. that only administrators can view Portlet A? Thanks... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3990026#3990026 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3990026 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Eclipse IDE (users)] - web.xml generation with XDoclet / JBoss Eclipse IDE Tutorial
web.xml and jboss.xml don't get generated: I followed steps in the JBoss Eclipse IDE Tutorial. (I skipped the EJB part as I am not interested in them for the time being.). As described in chapter 7 I enabled the Xdoclet configuration and did add a web doclet configuration but the neither the WEB-INF directory nor the web.xml file or jboss-web.xml were generated. I am wondering if something may be wrong with my set up as no output messages are printed to the console. Any idea's what might be wrong with my environment? The version I am using: - j2sdk1.4.2_12 - jboss-4.0.4.GA - JBossIDE-1.5.1 - Eclipse SDK 3.1.2 Thanks! Anette View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3973018#3973018 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3973018 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user