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
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:
|
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
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 :
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
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
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:
|
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
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
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
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 :
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
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
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
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); %
|
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
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 {
|
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
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
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
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
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
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 =
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 :
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
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 :
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
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
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
29 matches
Mail list logo