Board index » jbuilder » How do I get Permission? (Stuts and JAAS)
Edward
![]() JBuilder Developer |
How do I get Permission? (Stuts and JAAS)2003-09-04 09:09:30 PM jbuilder22 I am developing an intranet using the Stuts framework and implementing JAAS. I have implemented much of the advice found on 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. |