The issue you are describing sounds like the following bug from JIRA:
http://nagoya.apache.org/jira/browse/JS1-494
It has been recently solved in CVS Head. The issue was with the security cache becoming invalid. Another solution is to turn off security caching by editing the JetspeedSecurity.properties file.
You can manually edit the security xreg file and it will automatically reload after approximately 5 minutes (unless the registry timeout has been changed).
Jeremy Ford [EMAIL PROTECTED]
From: "Sturtz, Andrew" <[EMAIL PROTECTED]> Reply-To: "Jetspeed Users List" <[EMAIL PROTECTED]> To: "Jetspeed Users List" <[EMAIL PROTECTED]> Subject: RE: Problems with Roles and Permissions Date: Thu, 1 Jul 2004 09:10:43 -0400
Thanks, for your replies. At first I was changing the roles manually in the xreg files, and I was having to restart Tomcat everytime I changed something. But then this morning I tried doing it through the admin account and the same thing happens, I log out of the admin account and log in with a user account and I only see the top banner and the left nav bar, and where the content should be I get "Error retrieving portal page: null" If I redeploy and restart Tomcat everything works as it should. Is there a way that I can change these settings without having to restart Tomcat. Thanks again.
-----Original Message----- From: Robin Antony [mailto:[EMAIL PROTECTED] Sent: Thursday, July 01, 2004 3:02 PM To: 'Jetspeed Users List' Subject: RE: Problems with Roles and Permissions
Hi, How are you changing your roles? Are you doing it by manually changing them in the security.xreg files? If you are manually changing the .xreg file then you will need to restart tomcat, coz the .xreg files are loaded each time jetspeed loads. But you can also change the roles by logging in as admin inside jetspeed. If you do it that way then you would not need to restart tomcat. Cheers, Robin Antony Software Engineer OpenSI.Net www.opensi.net
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 30, 2004 2:47 PM To: [EMAIL PROTECTED] Subject: RE: Problems with Roles and Permissions
For your second problem, it is hard to say what happened based on the information you provided. Anyhow, you can put in some debug statements (using the jetspeed logger) in the PortletWraper class then check the output in the jetspeed.log file. The checkPermission method in there will invoke the AccessController class you choose in the JetspeedSecurity.properties file. Default is the RegistryAccessController. You can put in debug statements in the AccessController class if necessary. These should give you enough information to tell you why your access control doesn't work. Andy
-----Original Message----- From: Sturtz, Andrew [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 30, 2004 3:13 PM To: [EMAIL PROTECTED] Subject: Problems with Roles and Permissions
I am trying to divide users into two seperate groups using two different roles and setting permissions for these roles to be able to view certain portlets ie. one group with a role of A can see one set of portlets, while users with the role of B can see another set of portlets. The problem that I am running into is that everytime a change a role of a user I have to restart Tomcat for the changes to take effect. Is this normal behavior? It doesn't seem so, because in a production environment that would be very detrimental to the users already set up, if throughout the day their portal would not be available to them because it is constantly being restarted. A second problem that I am running into is that after I set the roles and add the permissions to my security.xreg file and then add the security reference to the individual portlets, the restricted portlets are still available to the users that are not supposed to be able to see them. Please help!!! :-( Thanks in advance!!!!!
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
_________________________________________________________________
Watch the online reality show Mixed Messages with a friend and enter to win a trip to NY http://www.msnmessenger-download.click-url.com/go/onm00200497ave/direct/01/
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
