[jboss-user] [JBoss Portal] - How Authentication Authorization is working in JBoss Porta

2007-07-24 Thread ganeshraja
How Authentication  Authorization is working in JBoss Portal 2.6?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4066920#4066920

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4066920
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: How Authentication Authorization is working in JBoss P

2007-07-24 Thread ganeshraja
Is it possible to include custom login module?

I have one web application with JAAS login module, which is using users and 
roles of its own database. Here my requirement is how to customize my existing 
application JAAS login module to JBoss Portal Server.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4066925#4066925

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4066925
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: How Authentication Authorization is working in JBoss P

2007-07-24 Thread ganeshraja
Hi I am not able to understand in the documentation. can anyone give the brief 
idea to include custom login module with users and roles

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4066979#4066979

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4066979
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: How Authentication Authorization is working in JBoss P

2007-07-24 Thread ganeshraja
can jboss portal refer user and role ohter than jboss portal database. 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4066983#4066983

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4066983
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: How Authentication Authorization is working in JBoss P

2007-07-24 Thread ganeshraja
 Is custom login module should be jboss portal interface (like User, Role, 
RoleModule etc) complaint?



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4067016#4067016

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4067016
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: How to implement external Authentication and Authorizati

2007-07-23 Thread ganeshraja
Can I use my own Users  Roles defined in separate web application to JBoss 
Portal Serer?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4066583#4066583

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4066583
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: How to implement external Authentication and Authorizati

2007-07-23 Thread ganeshraja
I have one web application with JAAS login module, which is using users and 
roles of its own database. Here my requirement is how to customize my existing 
application JAAS login module to JBoss Portal Server.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4066888#4066888

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4066888
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - How to implement external Authentication and Authorization i

2007-07-20 Thread ganeshraja
How to include external web application login module (i.e User and roles) to 
JBoss Portal 2.6 GA.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4066166#4066166

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4066166
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Bug in Role - JBoss Portal 2.6GA

2007-07-19 Thread ganeshraja
If i create a new role, then i assign this new role to one user. If i log in as 
a new role assigned user, in that user's 'Edit Page' portlet list is empty.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4065769#4065769

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4065769
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: How to manage User's Tabs and portlet from Admin?

2007-07-17 Thread ganeshraja
My requirement is user should not modify the page and portlet. it should be 
controlled by admin privilage user only.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4064919#4064919

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4064919
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: How to manage User's Tabs and portlet from Admin?

2007-07-17 Thread ganeshraja
Is there any document for jboss portal database table structure? How do i 
create a page thru SQL query?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4064929#4064929

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4064929
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Bug in JBoss Portal 2.6 GA version

2007-07-06 Thread ganeshraja
Bug # 3

I am getting exception when i change the Dashboard theme properties: RenderSet 
to default in Admin-Home-Management Portlet-Dashboards page. 


ERROR
  | Cause: javax.portlet.PortletException: /WEB-INF/jsf/dashboards.xhtml 
@35,129 actionListener=#{dashboardmgr.theme.execute}: 
java.lang.NullPointerException
  | Message: /WEB-INF/jsf/dashboards.xhtml @35,129 
actionListener=#{dashboardmgr.theme.execute}: java.lang.NullPointerException
  | StackTrace: 
  | javax.portlet.PortletException: /WEB-INF/jsf/dashboards.xhtml @35,129 
actionListener=#{dashboardmgr.theme.execute}: java.lang.NullPointerException
  | at 
org.apache.myfaces.portlet.MyFacesGenericPortlet.handleExceptionFromLifecycle(MyFacesGenericPort
  | let.java:253)


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4061317#4061317

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4061317
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Exception in Inter portlet communication

2007-07-04 Thread ganeshraja
Server : jboss-portal-2.6-CR3

In the portlet A  Portlet B (font color changing portlet) IPC samples. i am 
getting the following error when i click the submit query button in the Portlet 
A..

Exception:

17:52:44,024 ERROR [org_jboss_portal_core_portlet_test_event_PortletA] The 
portlet threw an exception
javax.portlet.PortletException
at javax.portlet.GenericPortlet.processAction(GenericPortlet.java:289)
at 
org.jboss.portal.portlet.impl.jsr168.PortletContainerImpl.invokeAction(PortletContainerImpl.java:458)
at 
org.jboss.portal.portlet.impl.jsr168.PortletContainerImpl.dispatch(PortletContainerImpl.java:401)
at 
org.jboss.portal.portlet.container.PortletContainerInvoker$1.invoke(PortletContainerInvoker.java:86)
at 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
at 
org.jboss.portal.core.aspects.portlet.TransactionInterceptor.org$jboss$portal$core$aspects$portlet$TransactionInterceptor$invokeNotSupported$aop(TransactionInterceptor.java:86)
at 
org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNotSupported_N4547270787964792031.invokeNext(TransactionInterceptor$invokeNotSupported_N4547270787964792031.java)
at org.jboss.aspects.tx.TxPolicy.invokeInNoTx(TxPolicy.java:66)
at 
org.jboss.aspects.tx.TxInterceptor$NotSupported.invoke(TxInterceptor.java:112)
at 
org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNotSupported_N4547270787964792031.invokeNext(TransactionInterceptor$invokeNotSupported_N4547270787964792031.java)
at org.jboss.aspects.tx.TxPolicy.invokeInNoTx(TxPolicy.java:66)
at 
org.jboss.aspects.tx.TxInterceptor$NotSupported.invoke(TxInterceptor.java:102)
at 
org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNotSupported_N4547270787964792031.invokeNext(TransactionInterceptor$invokeNotSupported_N4547270787964792031.java)
at 
org.jboss.portal.core.aspects.portlet.TransactionInterceptor.invokeNotSupported(TransactionInterceptor.java)
at 
org.jboss.portal.core.aspects.portlet.TransactionInterceptor.invoke(TransactionInterceptor.java:56)
at 
org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
at 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
at 
org.jboss.portal.core.aspects.portlet.HeaderInterceptor.invoke(HeaderInterceptor.java:50)
at 
org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
at 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
at 
org.jboss.portal.portlet.aspects.portlet.ProducerCacheInterceptor.invoke(ProducerCacheInterceptor.java:53)
at 
org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
at 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
at 
org.jboss.portal.core.aspects.portlet.AjaxInterceptor.invoke(AjaxInterceptor.java:51)
at 
org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
at 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
at 
org.jboss.portal.portlet.aspects.portlet.ModesInterceptor.invoke(ModesInterceptor.java:62)
at 
org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
at 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
at 
org.jboss.portal.bridge.BridgeInterceptor.invoke(BridgeInterceptor.java:47)
at 
org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
at 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
at 
org.jboss.portal.portlet.aspects.portlet.WindowStatesInterceptor.invoke(WindowStatesInterceptor.java:55)
at 
org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
at 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
at 
org.jboss.portal.portlet.aspects.portlet.PortletSessionSynchronizationInterceptor.invoke(PortletSessionSynchronizationInterceptor.java:80)
at 
org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
at 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
at 
org.jboss.portal.portlet.aspects.portlet.ContextTrackerInterceptor.invoke(ContextTrackerInterceptor.java:46)
at 
org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
at 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
at 
org.jboss.portal.portlet.aspects.portlet.ContextDispatcherInterceptor$1.doCallback(ContextDispatcherInterceptor.java:89)
at 

[jboss-user] [JBoss Portal] - Need IPC Sample

2007-07-04 Thread ganeshraja
 I need Inter Portlet Communication portlet sample for JBoss Portal 2.6 GA 
version..

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4060530#4060530

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4060530
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: Need IPC Sample

2007-07-04 Thread ganeshraja
I am getting error for the following code refered from reference document.

PortletA.java

package sample;
  | 
  | import java.io.IOException;
  | import java.io.PrintWriter;
  | 
  | import javax.portlet.GenericPortlet;
  | import javax.portlet.PortletException;
  | import javax.portlet.PortletSecurityException;
  | import javax.portlet.RenderRequest;
  | import javax.portlet.RenderResponse;
  | 
  | 
  | public class PortletA extends GenericPortlet
  | {
  |protected void doView(RenderRequest request, RenderResponse response)
  |   throws PortletException, PortletSecurityException, IOException
  |{
  |   response.setContentType(text/html);
  |   PrintWriter writer = response.getWriter();
  |   writer.println(form action=\ + response.createActionURL() + \ 
method=\post\);
  |   writer.println(select name=\color\);
  |   writer.println(optionblue/option);
  |   writer.println(optionred/option);
  |   writer.println(optionblack/option);
  |   writer.println(/select);
  |   writer.println(input type=\submit\/);
  |   writer.println(/form);
  |   writer.close();
  |}
  | }

PortletB.java


  | package sample;
  | 
  | import java.io.IOException;
  | import java.io.PrintWriter;
  | 
  | import javax.portlet.ActionRequest;
  | import javax.portlet.ActionResponse;
  | import javax.portlet.GenericPortlet;
  | import javax.portlet.PortletException;
  | import javax.portlet.PortletSecurityException;
  | import javax.portlet.RenderRequest;
  | import javax.portlet.RenderResponse;
  | 
  | import org.jboss.portlet.PortalNode;
  | import org.jboss.portlet.event.node.PortalNodeEvent;
  | import org.jboss.portlet.event.node.PortalNodeEventBubbler;
  | import org.jboss.portlet.event.node.PortalNodeEventListener;
  | import org.jboss.portlet.event.node.WindowActionEvent;
  | 
  | public class PortletB extends GenericPortlet
  | {
  | 
  |public void processAction(ActionRequest request, ActionResponse response)
  |   throws PortletException, PortletSecurityException, IOException
  |{
  |   String color = request.getParameter(color);
  |   if (color != null)
  |   {
  |  response.setRenderParameter(color, color);
  |   }
  |}
  | 
  |protected void doView(RenderRequest request, RenderResponse response)
  |   throws PortletException, PortletSecurityException, IOException
  |{
  |   String color = request.getParameter(color);
  |   response.setContentType(text/html);
  |   PrintWriter writer = response.getWriter();
  |   writer.println(div +
  |  (color == null ?  :  style=\color: + color + ;\) +
  |  some text in color/div);
  |   writer.close();
  |}
  |
  |// Inner listener 
  |public static class Listener implements PortalNodeEventListener
  |{
  |   public PortalNodeEvent onEvent(PortalNodeEventBubbler bubbler, 
PortalNodeEvent event)
  |   {
  |  PortalNode node = event.getNode();
  |  // Get node name
  |  String nodeName = node.getName();
  |  // See if we need to create a new event or not
  |  WindowActionEvent newEvent = null;
  |  if (nodeName.equals(PortletAWindow)  event instanceof 
WindowActionEvent)
  |  {
  | // Find window B
  | WindowActionEvent wae = (WindowActionEvent)event;
  | PortalNode windowB = node.resolve(../PortletBWindow);
  | if (windowB != null)
  | {
  |// We can redirect
  |newEvent = new WindowActionEvent(windowB);
  |newEvent.setParameters(wae.getParameters());
  |// Redirect to the new event
  |return newEvent;
  | }
  |  }
  |  // Otherwise bubble up
  |  return bubbler.dispatch(event);
  |   }
  |}
  |   
  | }

Portlet.xml

?xml version=1.0 encoding=UTF-8 standalone=yes?
  | portlet-app version=1.0 
xsi:schemaLocation=http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd 
http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd; 
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; 
xmlns=http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd;
  | 
  |portlet
  |   portlet-nameIPCPortletA/portlet-name
  |   portlet-classsample.PortletA/portlet-class
  |   supports
  |  mime-typetext/html/mime-type
  |  portlet-modeVIEW/portlet-mode
  |   /supports
  |   portlet-info
  |  titleIPC Portlet A/title
  |   /portlet-info
  |/portlet
  |portlet
  |   portlet-nameIPCPortletB/portlet-name
  |   portlet-classsample.PortletB/portlet-class
  |   supports
  |  mime-typetext/html/mime-type
  |  portlet-modeVIEW/portlet-mode
  |   /supports
  |   portlet-info
  |  titleIPC Portlet B/title
  |   /portlet-info
  |/portlet
  | 
  | /portlet-app 

Exception

  

[jboss-user] [JBoss Portal] - Re: Need IPC Sample

2007-07-04 Thread ganeshraja
which are the required .jar files for this sample?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4060638#4060638

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4060638
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user