[jboss-user] [JBoss Portal] - Problem with Custom Auth Module

2008-09-08 Thread david.hoffman
I have a custom auth module that I have written to extend the UsernamePasswordLoginModule: | public class SASAuth extends UsernamePasswordLoginModule | My login-config.xml looks like this: |application-policy name=portal | authentication | login-module

[jboss-user] [JBoss Portal] - Accessing CMS HTML content directly

2008-01-16 Thread david.hoffman
For puposes of simplifying my question, I will use the out of the box 2.6.3 configuration. If I point my browser to the following url I get the image: | /portal/content/default/images/back.gif | However, if I point my browser to the following url, I get a 404 error: |

[jboss-user] [JBoss Portal] - Re: JBoss Portal and Kerberos Authentication with Form-Based

2008-01-16 Thread david.hoffman
I have had zero success with this. Please do let me know if you find anything. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4120606#4120606 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4120606

[jboss-user] [JBoss Portal] - Re: cms - big file upload problem - mysql

2007-11-08 Thread david.hoffman
Problem solved. Thank you for your help. All I had to do was add | max_allowed_packet=10485760 | to my my.ini file and it started working. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102967#4102967 Reply to the post :

[jboss-user] [JBoss Portal] - Re: cms - big file upload problem - mysql

2007-11-07 Thread david.hoffman
One error in my previous post. I thought I was at portal version 2.6.2 but in fact I am using 2.6.1. While waiting for some sort of assistance, I will try 2.6.2 and see if it is resolved there. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102674#4102674

[jboss-user] [JBoss Portal] - CMS Large File Upload Failure

2007-11-07 Thread david.hoffman
I am seeing pretty much the same behavior with a file as small as 5MB. It seemed to work fine when I was using HSQLDB but now that I am using MYSQL for a datastore, I get an exception just like what is described above. I am using JBoss Portal 2.6.2 with JDK 1.6.0_02. MySql 5 with

[jboss-user] [JBoss Portal] - Re: cms - big file upload problem - mysql

2007-11-07 Thread david.hoffman
OK, I have tried the following configurations, all with the same results. 2.6.1 w/ jdk 1.5 2.6.1 w/ jdk 1.6 2.6.2 w/ jdk 1.5 2.6.2 w/ jdk 1.6 Regardless of the configuration, I still get the same exception: | | javax.resource.ResourceException: Transaction is not active: |

[jboss-user] [JBoss Portal] - JBoss Portal and Kerberos Authentication with Form-Based Fal

2007-07-05 Thread david.hoffman
I am using Portal 2.6-GA-bundled. I have been tasked with creating an Authentication Module which is capable of ATTEMPTING to authenticate the user silently using Kerberos to an ADS server. Upon success, I am to let the user pass on into the portal. If unsuccessful, I am to present the

[jboss-user] [JBoss Portal] - Re: Quirky Behavior of Jackrabbit CMS?

2007-06-08 Thread david.hoffman
Noone has any suggestions? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4052687#4052687 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4052687 ___ jboss-user mailing list

[jboss-user] [JBoss Portal] - Quirky Behavior of Jackrabbit CMS?

2007-05-29 Thread david.hoffman
I have attempted to use mysql-connector-java-3.1.14-bin.jar based on the earlier post that the developer was using mysql-connector-java-3.1.4-beta-bin.jar. I am experiencing the same behavior. The content continues to exist so long as the portal is not stopped and then restarted. Is there

[jboss-user] [JBoss Portal] - Re: Quirky Behavior of Jackrabbit CMS?

2007-05-14 Thread david.hoffman
Thats correct. It is as if I never had created any content at all when I restart the portal. I can forward all my configs if you think that you could help me figure it out. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4045449#4045449 Reply to the post :

[jboss-user] [JBoss Portal] - Quirky Behavior of Jackrabbit CMS?

2007-05-11 Thread david.hoffman
I have no doubt that this is most likely a configuration issue on my part. I am using jboss-portal-2.6-CR2-bundled configured to work with MySQL 5.0 If I create content through the CMS console, I see that content and can access it through a CMSPortletInstance. However, if I shutdown the

[jboss-user] [JBoss Portal] - Accessing Response Object in a Portal Auth Module

2007-05-02 Thread david.hoffman
Using: http://wiki.jboss.org/wiki/Wiki.jsp?page=AccessingServletRequestForAuthentication I am able to access the HttpServletRequest with the following code: | HttpServletRequest request = (HttpServletRequest)PolicyContext.getContext(javax.servlet.http.HttpServletRequest); | I need to

[jboss-user] [JBoss Portal] - Re: Loss of Session Attributes

2007-04-27 Thread david.hoffman
OK, I understand that, and in fact I found a similar statement after having posted my questions. Is there a way (through configuration) to force the behaviour I am attempting to achieve? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4041406#4041406 Reply to

[jboss-user] [JBoss Portal] - Loss of Session Attributes

2007-04-26 Thread david.hoffman
Current Software: JBOSS-PORTAL-2.6-CR1-BUNDLED I am trying to use session attributes for my application coding. I have three files: test1.jsp (in webapp1) | %=request.getSession().getId()%br | % request.getSession().setAttribute(test, SUCCESS); % |

[jboss-user] [JBoss Portal] - Trouble creating user on the fly programatically

2007-04-20 Thread david.hoffman
Using: jboss-portal-2.6-BETA1-bundled, configured to use MySQL as the datastore I have a custom auth module that authenticates a user against Active Directory Server and drops a user into roles that are derived from ADS attributes. Upon successful authentication, as long as a user exists in

[jboss-user] [JBoss Portal] - Re: Accessing HttpServletRequest from RenderRequest

2006-11-29 Thread david.hoffman
Sure, I thought I had posted this, but I guess I didn't. the request object in the sample below is JBossRenderRequest. | public String getCookieValue(String cookieName) { | | String value = ; | | cookieName = JSESSION; | | try { |

[jboss-user] [JBoss Portal] - Accessing HttpServletRequest from RenderRequest

2006-11-10 Thread david.hoffman
I am attempting to access the actual HttpServletRequest (specifically a cookie value) from the RenderRequest object and failing miserably. Does anyone know if maybe I am just blind and not finding it in the API? Is there another way to access cookies from the browser that I am just missing? I

[jboss-user] [JBoss Portal] - Default

2006-11-02 Thread david.hoffman
Using: jboss-portal-2.4.0-bundled By default, under the Admin page, in the Management Window, under root there is a default portal. If I create a new portal under root, called newportal for instance, I can access that portal by going to /portal/newportal. However, the desired effect would be

[jboss-user] [JBoss Portal] - Found it by mistake

2006-11-02 Thread david.hoffman
Thanks Peter. I did find a solution, quite frankly by mistake. I looked to see what it was that defined a default page for a portal, and figured it was worth a try. I am not sure how you would do through xml files etcetera, but I did find out that you could do it though the management portlet

[jboss-user] [JBoss Portal] - Re: How can i set my portal as home page

2006-11-02 Thread david.hoffman
I know its been a while since you posted this question, but I did find a solution that may be helpful if you are still looking for one. http://jboss.org/index.html?module=bbop=viewtopict=93832 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3982787#3982787

[jboss-user] [JBoss Portal] - Re: How can i set my portal as home page

2006-11-02 Thread david.hoffman
david.hoffman wrote : I know its been a while since you posted this question, but I did find a solution that may be helpful if you are still looking for one. | | http://jboss.org/index.html?module=bbop=viewtopict=93832 Sorry had the wrong url in my buffer. The correct url is: http

[jboss-user] [JBoss Portal] - How to access Portlet Information in Edit functionality

2006-10-25 Thread david.hoffman
I have a portlet that is EDITable. In my portlet class, I have the following | protected void doEdit(RenderRequest request, RenderResponse response) throws IOException, PortletException { | response.setContentType(text/html); | PortletRequestDispatcher dispatcher =

[jboss-user] [JBoss Portal] - What determines window order within a region?

2006-10-13 Thread david.hoffman
I cannot seem to determine what it is that is making the windows show up in a given order. Can someone point me to a reference that discusses this? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3978188#3978188 Reply to the post :

[jboss-user] [JBoss Portal] - Re: What determines window order within a region?

2006-10-13 Thread david.hoffman
The Reference Guide wrote : | The four markup containers are hierarchical. The region contains one or more windows. A window contains the portlet decoration and the portlet content. | | The region is responsible for arranging the positioning and order of each portlet window. Should they

[jboss-user] [JBoss Portal] - Re: What determines window order within a region?

2006-10-13 Thread david.hoffman
PeterJ wrote : The theme.order property decides the relative order. In the *-object.xml file, this is set using the height node. | | Thanks Peter, that was precisely what I needed to know. Works like a champ. View the original post :

[jboss-user] [JBoss Portal] - Re: What determines window order within a region?

2006-10-13 Thread david.hoffman
PeterJ wrote : The theme.order property decides the relative order. In the *-object.xml file, this is set using the height node. | | Just for conversation purposes, does anyone know how it would determine the order if the nodes were identical? Obviously this is not optimum, but it

[jboss-user] [JBoss Portal] - Accessing Window

2006-10-12 Thread david.hoffman
I am attempting to develop a portlet that always retrieves information from the same URL, but the URL has a queryString parameter which must be sent. This parameter is different for every Window that is displayed. I see that when I use the Admin UI I can set a property for the Window after

[jboss-user] [JBoss Portal] - Re: Accessing Window

2006-10-12 Thread david.hoffman
Properties seems to be the way to go, the problem I am having is not knowing how to access the property itself via code. For example I have a property called qStringProperty with a value of 0013 I have tried: request.getProperty(qStringProperty); as well as