-
I will be glad to help you when needed.
[]'s
Vinícius Pitta Lima de Araújo
http://www.viniciusaraujo.net.
2009-11-10 12:06:45 UTC in jGuard
-
Yoan,
The jGuard doc is very enough to guide you. I guess there isn't a without struts example, but you will notice that the struts is used just to handle the web part of the example, that actually doesn't 'matter' to jGuard. You can just replace the struts actions by JSP and you have a no-struts jGuard implementation. jGuard don't care about what the URIs are or mean. It just have to know...
2009-11-10 11:36:43 UTC in jGuard
-
Hi Yoann,
The jGuard don't depends of any web fw. The simplest approach to integrate jGuard with any web app is using its filter. The filter is a JEE standard. The 'actions' used by jGuard are only to keep the access control flow. Instead of actions you can use simple JSPs or anything else.
[]'s
Vinícius Pitta Lima de Araújo
http://www.viniciusaraujo.net.
2009-11-10 10:22:03 UTC in jGuard
-
I am glad to help!
[]'s
Vinícius Pitta Lima de Araújo
http://www.viniciusaraujo.net.
2009-08-05 13:37:35 UTC in jGuard
-
Hi Prasad,
Have you checked the vars permArgsBasicPermClass and objBasicArray? Did you called the getTargetException when debugging? This exception means that something goes wrong in the constructor and it throws some exception. Note that InvocationTargetException is not what we must looking for to solve this problem. It just encapsulate the real exception.
[]'s
Vinícius Pitta Lima de...
2009-08-05 10:22:36 UTC in jGuard
-
It's true, charlie! I was talking about database relationship (foreign key, index, etc). Some people may not figure out that jGuard still respect the separation of authentication and authorization layer in the database back end. I think this is the main reason to people don't get at a first look why there is two tables.
[]'s
Vinícius Pitta Lima de Araújo
http://www.viniciusaraujo.net.
2009-07-16 10:44:50 UTC in jGuard
-
Canelli,
If I am not wrong, the first is for authentication layer and the last for authorization layer. The first has the app name to define the relationship between user and application in a environment where there is multiple applications managed by jguard in the same database or backend. You may notice that there is not relationship between these two tables because the jGuard threat...
2009-07-13 14:24:05 UTC in jGuard
-
Hi Sweet Younce,
I am happy that my suggestion worked fine for you. I am not sure about why your code works only after the doFilter. The first thing that come to my mind is that something happen after your code that reset the session and your parameter is lost. Did you check the value of the parameter after the doFilter execution? Maybe Charles has some clue about it.
[]'s
Vinícius Pitta...
2009-07-09 10:42:30 UTC in jGuard
-
I see that you want to change the locale on login page. So you can use the previous solution that I suggested or, if you are using the struts 2, you can create a action to change the locale, give guest access to this action, and create a action chain that calls this action first and the LogonURI after. The advantage is that you can use this action in other places of your application.
[]'s...
2009-07-06 16:49:10 UTC in jGuard
-
Hi Sweet Yonce,
The quickly solution is to put a JEE filter BEFORE the AccessFilter and set the locale. You can be very specific and configure the filter to match just the LogonURI.
Hope it helps! Tell me if it fit your need.
[]'s
Vinícius Pitta Lima de Araújo
http://www.viniciusaraujo.net.
2009-07-06 10:40:33 UTC in jGuard