I am developing an intranet using the Stuts framework and implementing JAAS.
I have implemented much of the advice found on
http://www.darkwolf.ws/docs/java/JAAS.htm to configure JAAS into a Struts
application.
I just cannot figure out how to get the Permission object that represents
the URL that a user is trying to access.
Can anyone explain the following snippet.?
Permission perm = PermissionFactory.getInstance().getPermission(
pageReqested );
Also.
How can you create a Permission class that understands URL's? How would you
extend java.security.permission class to handle wild cards similar to the
java.io.FilePermission class.
Daniele Cremonini - 04 Sep 2003 18:32 GMT
Hi,
I'm trying to get JBuilder 9 working with Struts 1.1 but I have some
problems.
What version of JB and Struts are you using?
thanks
D.
> I am developing an intranet using the Stuts framework and implementing JAAS.
>
[quoted text clipped - 15 lines]
> extend java.security.permission class to handle wild cards similar to the
> java.io.FilePermission class.
Edward - 05 Sep 2003 08:10 GMT
I'm using JB9 with Stuts 1.1 with no problems.
> Hi,
> I'm trying to get JBuilder 9 working with Struts 1.1 but I have some
[quoted text clipped - 24 lines]
> > extend java.security.permission class to handle wild cards similar to the
> > java.io.FilePermission class.
sub - 19 Jan 2004 13:08 GMT
This is also my query . From where I can get PermissionFactory dfor the follwoing code snippet?
PermissionFactory.getInstance().getPermission(
> pageReqested );
Please give advice. This will be really helpful.
Yashwant - 18 Sep 2003 18:37 GMT
Hi Edward,
I am having exactly a similar problem. Have you been able to get any
solution?
Also if I extend permission class to make my own URLPermission then
just for access to URL's does it need to have any specific code. I
thought that the access for that particular URL is granted in the
policy file itself.
thanks,
Yash
> I am developing an intranet using the Stuts framework and implementing JAAS.
>
[quoted text clipped - 15 lines]
> extend java.security.permission class to handle wild cards similar to the
> java.io.FilePermission class.
Edward - 22 Sep 2003 08:14 GMT
Nope...still looking
> Hi Edward,
>
[quoted text clipped - 27 lines]
> > extend java.security.permission class to handle wild cards similar to the
> > java.io.FilePermission class.
Edward - 25 Sep 2003 14:33 GMT
http://forum.java.sun.com/thread.jsp?forum=60&thread=445945&tstart=0&trange=15