[JBoss-user] [JBoss Portal] - Re: Security in Portal

2005-06-21 Thread asv
Is there another way to acess user profile and to get users role? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3882229#3882229 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3882229 --

[JBoss-user] [JBoss Portal] - Re: Security in Portal

2005-06-21 Thread asv
I've found topic http://www.jboss.com/index.html?module=bb&op=viewtopic&t=61109 anonymous wrote : No, isUserInRole is JSR168 compliant,if it returns always false, it could be a bug, we are not using that feature, we will look at it. anonymous wrote : it is a big in the tomcat/jboss integration

[JBoss-user] [JBoss Portal] - Re: Security in Portal

2005-06-20 Thread asv
public void doView(RenderRequest pRequest, RenderResponse pResponse) throws PortletException, IOException { | PortletContext context = getPortletContext(); | PortletRequestDispatcher rd = context.getRequestDispatcher(HELLO_TEMPLATE); | | pRequest.setAttribute(

[JBoss-user] [JBoss Portal] - Security in Portal

2005-06-20 Thread asv
JBoss Portal uses own security mechanism. I need a portable application. I have tried to use PortlaRequest.isUserInRole() But it doesn't work. Will this method work in release of JBoss Portal? May I'm doing something wrong... I'm using RC3. View the original post : http://www.jboss.org/ind

[JBoss-user] [JBoss Portal] - Re: Does JBoss Portal work with Sun JSF RI?

2005-06-20 Thread asv
I have just replaced jsf-impl.jar from portlet-guessNumber samples and my application started working. I had JSF 1.1 too but the size of jars was different. I think It will be usefull to have some FAQ or Developer guide about migration Struts/JSF application to JBoss Portal. View the origina

[JBoss-user] [JBoss Portal] - Re: Does JBoss Portal work with Sun JSF RI?

2005-06-15 Thread asv
I have tried to move but it din't work. I hadn't enough time to migrate. But today I don't need MyFaces. If SUN RI works I will try to make it work View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3881532#3881532 Reply to the post : http://www.jboss.org/ind

[JBoss-user] [JBoss Portal] - Re: Does JBoss Portal work with Sun JSF RI?

2005-06-15 Thread asv
echoi1975: I have only one portlet on a page. Does your JSF Portlet (SUN JSF RI) work? Which proxy do you have ? com.sun.faces.portlet.FacesPortlet or another? I have seen samples with MyFaces Portlet but not Sun JSF RI. View the original post : http://www.jboss.org/index.html?module=bb&op=v

[JBoss-user] [JBoss Portal] - Re: Does JBoss Portal work with Sun JSF RI?

2005-06-14 Thread asv
Exception: === java.lang.ClassCastException at com.sun.faces.application.ApplicationAssociate.getInstance(ApplicationAssociate.java:118) at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:104) at com.sun.faces.portlet.ViewHandlerImpl.renderVi

[JBoss-user] [JBoss Portal] - Re: Does JBoss Portal work with Sun JSF RI?

2005-06-14 Thread asv
I'm using JBoss Portla 2.0 RC2 JBoss 4.0.2 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3881421#3881421 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3881421 --- Th

[JBoss-user] [JBoss Portal] - Does JBoss Portal work with Sun JSF RI?

2005-06-14 Thread asv
I've got a ClassCastException. Does JBoss Portal work with Sun JSF RI? page: portlet.xml My portlet MyPortlet MyPortlet com.sun.faces.portlet.FacesPortlet Portlet init page com.sun.faces.portlet.INIT_