Madhav Bhargava schrieb:
To add if you see the spring security application config, I have the following
set:
security:http
security:intercept-url pattern=/**/secure/** access=ROLE_USER
/
security:intercept-url pattern=/**/operations/**
access=ROLE_OPERATIONS/
-Original Message-
From: Michael Kurz [mailto:michi.k...@gmx.at]
Madhav Bhargava schrieb:
To add if you see the spring security application config, I have the
following set:
security:http
security:intercept-url pattern=/**/secure/**
access=ROLE_USER /
Hi Madhav,
I now know what the problem is. I wrote a small test webapp and came to the
following conclusion:
JSF uses RequestDispatcher.forward(..) to render the second view. Thus the
filter should be invoked for the forward. However, the filter is/was already
invoked for the first request and
Hm, I thought the same first but he has attribute once-per-request set
to false:
security:http once-per-request=false...
- Michael
Jakob Korherr schrieb:
Hi Madhav,
I now know what the problem is. I wrote a small test webapp and came to the
following conclusion:
JSF uses
Yes, I have made the appropriate configuration for spring security filters so
that specially in the case that you have described below this property will
make sure that the authentication is done again.
However I do not think that it has anything to do with a stale URL being passed
to the
I had added spring security code in my workspace for debugging reasons and I
suspected that how can a new page be shown when the URL passed to the filter at
the server is old. So I put a dummy filter in front of spring security just to
print out the URL that is getting intercepted by spring
Hey Ravi,
First you need to connect to your server. If that's done, depending on
the type of connection, profiling becomes possible (AFAIK local
applications always work, but JMX based connections don't).
If profiling is possible, you should see a Profiler tab. In the
Profiler tab, on the right
Jan-Kees, thanks for this info. I got the settings in order. But I am having
another problem.
When I launch the server from within RAD, VisualVM is not able to detect the
process at all. Can you tell me what do I need to do so VisualVM can detect
my server so that I can get profiling information
Hi,
I use a global action-listener defined in faces-config via the action-listener
tag to log called actions/actionsListeners.
With JSF 1.1 I used following code:
private void storeCalledAction(ActionEvent actionEvent){
ActionSource actionSource = (ActionSource) actionEvent.getComponent();
The filter for JSF forwards is not getting invoked at all.
That's exactly what I was saying ...and it does not help you if you set
security:http once-per-request=false..., because the filter is only
invoked once anyway.
Madhav's problem is that the Filter itself is only invoked once for the
Hi Michael,
Taking a short look at MethodExpressionActionListener, there are no getters
and the instance fields are private.. One way to get the original
MethodExpression is (as you suggested) to patch this class locally..
Another would be (although poor) to use the saveState()-method to get the
Hrm, it looks like the IBM JVM doesn't support VisualVM. See:
http://www.ibm.com/developerworks/forums/thread.jspa?messageID=14210263
Sorry. It would be nice if it worked.
You're probably not able to run your app on i.e. Tomcat, JBoss or
Glassfish, just for testing? If you are, things are easier.
I found that link as well 10 seconds ago and was going to email you :). Yes
you are right, I cannot run this app in tomcat, this is enterprise app with
tons of dependency on websphere.
Anyways, how can I get onsite support? Who provides such support? Apache?
Can you send me contact info or a
Apache officially doesn't provide support, see:
http://httpd.apache.org/docs/1.3/misc/FAQ.html#support
But you can try to contact a commercial company that does provide support.
It's an issue Apache can't really help you with.
Depending on where you're located, it shouldn't be very hard to find
I contacted Ravi already offline
-M
On Tue, Jan 12, 2010 at 7:59 PM, Jan-Kees van Andel
jankeesvanan...@gmail.com wrote:
Apache officially doesn't provide support, see:
http://httpd.apache.org/docs/1.3/misc/FAQ.html#support
But you can try to contact a commercial company that does provide
I'm really sorry, but there seemed to be some configuration problem with my
local tomcat. The filter _is_ called twice.
My example:
web.xml (excerpt):
servlet
servlet-nameServlet1/servlet-name
servlet-classat.jakobkorherr.servlets.Servlet1/servlet-class
/servlet
servlet
One more: Tried MyFilter in a JSF application which first renders index.jsp,
then a commandButton is hit and the action method forwards to index2.jsp.
Here is the filter-output of the first request:
Filter1 (forward + request) invoked for path /faces/index.jsp
Filter1 (forward + request) invoked
One suggestion that I would make is to run the Trinidad example application
and examine the behavior.
-Richard
On Tue, Jan 12, 2010 at 11:00 AM, Matthias Wessendorf mat...@apache.orgwrote:
I contacted Ravi already offline
-M
On Tue, Jan 12, 2010 at 7:59 PM, Jan-Kees van Andel
That is an excellent suggestion Richard. Can you point me to the application
you mentioned (I am on trinidad 1.0.7)
Thanks
On Tue, Jan 12, 2010 at 4:58 PM, Richard Yee richard.k@gmail.comwrote:
One suggestion that I would make is to run the Trinidad example application
and examine the
Hi,
as I understand you use a commandButton and as a result a different page
(a secured one) is rendered but spring security does not seem to
intercept the url, is that right?
If so and if the solution used by you uses Facelets then this may be the
problem.
When using Facelets as opposed to
Hi Tomasz,
That's all correct! However, I don't think he is using Facelets, because he
mentioned JSP-pages...
Regards,
Jakob
2010/1/12 Tomasz Pasierb tompa...@poczta.fm
Hi,
as I understand you use a commandButton and as a result a different page (a
secured one) is rendered but spring
http://myfaces.apache.org/trinidad/download.html
trinidad-1.0.11-example.ziphttp://www.apache.org/dyn/closer.cgi/myfaces/binaries/trinidad-1.0.11-example.zip
I'm not sure if the 1.0.11 version has any incompatibilities with 1.0.7. If
you can't find one that works with 1.0.7, email me offline and
Yes, I am not using facelets.
I had a look at the NavigationHandlerImpl and here is the excerpt from it:
Method: handleNavigation
if (navigationCase != null)
{
if (log.isTraceEnabled())
{
log.trace(handleNavigation fromAction= + fromAction +
Hi,
I think this is the right place to ask, as I'm also having problems with the
resources.
I'm using Glassfish V2.1, Trinidad 1.2.12, MyFaces 1.2.8 and Facelets. My
pages get displayed but as soon as it gets to showing images or accessing
the stylesheet file these aren't found.
A snippet from
24 matches
Mail list logo