I guess the first thing to consider is what you mean by come back to the
previous page.
Do you just mean have the user redirected back to that url when they have
finished playing with the search? or is it more complex. For example the
previous page is a form, and they are halfway through filling
http://sourceforge.net/projects/securityfilter/ emulates container managed security.
robert
-Original Message-
From: Mailing List [mailto:[EMAIL PROTECTED]
Sent: Saturday, March 13, 2004 6:19 AM
To: [EMAIL PROTECTED]
Subject: security framework!!!
I'm developing a web
Dean:
First, you need this countries Collection available in kind of an
application-wide context, right? I mean there is no reason to attach
this as a session variable since I imagine it would not change from user
to user...
Also such variables are best initialised/populated in a class (the
Dean:
Oh, Ok, I think i see what your issue is now (shouldn't have hit that earlier
send so fast..!) Ok, in the action before you forward to the jsp, populate
your countries variable. Then set your session variable (in your Action
class), say, session.setAttribute(countries, countries); (though
Thanks for the response.
Actually running queries from the sql prompt is not the problem with me.
What I want is to execute this query(using Multiple databases) through
some Action class. I am using MySQL
Say :
Connection conn = null;
Statement stmt = null;
ResultSet rs = null;
DataSource
Is anybody using Tiles and the sslext taglib form link tags?
I am thinking of using them with Tiles.
Has this been implemented yet? I was wondering because I think it must
be a fairly complicated algorithm to check whether a link URL or a form
submit action needs HTTPS or not.
I was also
Hi all,
I was just trying to figure out how to do that. (newbie) I have an app that
has some pages available for all, some for logged in users and some for
administrators.
I prevent access to logged-only pages by a tags that hide the relevant
functionality.
I have now written an abstract
I've also been looking into security frameworks and the only solutions I've
really found are:
1. Standard (container) JAAS
2. SecurityFilter http://securityfilter.sourceforge.net
3. Pow2ACL http://pow2acl.sourceforge.net/
I was hoping, at some point, to use an SSL switching feature such as
How about this:
public boolean isUserAdmin(HttpServletRequest request)
{ //Check if the Admin is logged on
if (isLogged(request)) {
HttpSession session = request.getSession();
LogonForm user = (LogonForm)
Geeta Ramani wrote:
Dean:
Oh, Ok, I think i see what your issue is now (shouldn't have hit that earlier
send so fast..!) Ok, in the action before you forward to the jsp, populate
your countries variable. Then set your session variable (in your Action
class), say,
Dean:
Yes, I do see your problem and since (as i inderstand it) Struts tags work via
reflection, it needs an instance of the class before you can use bean:define kind
of things.. So my guess is you will have to bite the bullet and just use plain
Java (remember the good ole days??..;)):
Adam, I've been using SecurityFilter (sslext taglib form and link tags) with Tiles for
a while without
any issues.
robert
-Original Message-
From: Adam Hardy [mailto:[EMAIL PROTECTED]
Sent: Saturday, March 13, 2004 11:25 AM
To: Struts Users Mailing List
Subject: sslext http/https
Oracle provides Single Sign On with OID - no extra work required.
-Original Message-
From: David Friedman [mailto:[EMAIL PROTECTED]
Sent: Saturday, March 13, 2004 8:49 AM
To: Struts Users Mailing List
Subject: RE: security framework!!!
I've also been looking into security frameworks
Thank you for your reply Robert.
Struts seems to be erratic! It first worked then with no changes it didn't!
Something is going terribly wrong with how the server updates the classes...
I believe the safest bet is to do it my jsp.
-Could somebody please give an example of using the logic tag, to
Hi there, is there a configuration setting for Struts which tells it to set a property
on a form
bean of type Integer (not int) to null instead of new Integer(0) when the
corresponding value
coming in from the user's form is an empty string?
I had to create a plugin that had the following in
Thanks Niall, I will give it a try, it sounds good :) what about other
HTML input component? Is it doable the same way?
Erez
-Original Message-
From: Niall Pemberton [mailto:[EMAIL PROTECTED]
Sent: Saturday, March 13, 2004 12:54 AM
To: Struts Users Mailing List
Subject: Re: best way to
Sorry but this is quite new to me: how do you use this source code? How
I integrate it? Do I write a TLD file??
Erez
-Original Message-
From: Niall Pemberton [mailto:[EMAIL PROTECTED]
Sent: Saturday, March 13, 2004 12:54 AM
To: Struts Users Mailing List
Subject: Re: best way to
I have an html:form with a
html:submit and an html:cancel.
According to the documentation for
html:cancel:
Pressing of this submit button causes
the action servlet to bypass calling the
associated form bean validate() method.
I tried it and it did validation anyway.
Then I looked at the generated
That's the expected behavior. At the bottom of
http://jakarta.apache.org/struts/userGuide/building_controller.html#dyna_action_form_classes:
And, of course, while the DynaActionForm may support various binary types,
properties used with the html:text tag should still be String properties.
Yes - BaseHandlerTag contains the getStyleClass() method and the method to
output the style attributes (prepareStyles()) and the input tags all inherit
from that class. Maybe the best thing to do is re-factor that code into a
separate helper class, so that it can be easily plugged into any tag. I
There are two ways to do this -
1) Modify the struts-html.tld (which is usually deployed in WEB-INF) and
change the class name of the text tag, The downside is that, if you
upgrade to a new version of struts, you have to remember to re-apply the
change.
2) Create a new tld for this tag - I've
Well, it really has nothing to do with the type of tag I am using be it
radio,checkbox,text; I just
wanted to know if there is a declarative way to override the default values used by
BeanUtils in
Struts. Or is putting the code (from my previous message) in a plug-in the best
practice?
In my
Thanks a lot for your response.I 'm so interesting to know that which of the
three framework you use.all of them combine together or no just one of
them.and give me a sample of your configuration.
regards
-Original Message-
From: Dmitry Brin [mailto:[EMAIL PROTECTED]
Sent: Sunday, March
23 matches
Mail list logo