Re: J2 Security Customization

2005-04-21 Thread Santiago Urrizola
ok, thanks !! so ... anyone knows how can i change .. or where i mus see .. to change the registration and autentication procees, thats include: loks for an user when he try to login, and if tis valid asign some roles (roles of the portal, not of my organitzation) depending in some atributes o

Re: J2 Security Customization

2005-04-21 Thread David Sean Taylor
Scott T Weaver wrote: Our registration process is very controlled and goes through a work flow and verification process. The process is handled by an entirely different department. Ive got the same kind of situation on a Jetspeed-2 portal deployment. The login is actually done by a federated authe

RE: J2 Security Customization

2005-04-21 Thread Scott T Weaver
Our registration process is very controlled and goes through a work flow and verification process. The process is handled by an entirely different department. -Scott > -Original Message- > From: Santiago Urrizola [mailto:[EMAIL PROTECTED] > Sent: Thursday, April 21, 2005 4:38 PM > To: Je

RE: J2 Security Customization

2005-04-21 Thread Scott T Weaver
We don't do any user management in the portal, as that is all taken care of through other means which we do not concern ourselves with currently. Regards, Scott > -Original Message- > From: Santiago Urrizola [mailto:[EMAIL PROTECTED] > Sent: Thursday, April 21, 2005 4:29 PM > To: Jetspeed

Re: J2 Security Customization

2005-04-21 Thread Santiago Urrizola
Scot, its really grate thanks ! i clarifiy mi requeriments with this: I must let new users to register in the portal. (create new users) This class, have anithing in common with this process ??? - Original Message - From: "Frank Villarreal" <[EMAIL PROTECTED]> To: "Jetspeed User

RE: J2 Security Customization

2005-04-21 Thread Scott T Weaver
Nope, I just removed all of the custom J2 security valve stuff and stuck mine in palce of it. Here is an example of my current pipeline config. -Scott > -Original Message- > From: Frank Villarreal [mailto:[EMAIL PROTECTED] > Sent: Thursday, April 21, 2005 4:37 PM > To: Jetspeed Users Lis

RE: J2 Security Customization

2005-04-21 Thread Frank Villarreal
Scott, ... man this is excellent. I've been struggling with swapping out J2's security for days upon days. Being that the docs on security are somewhat sparse didn't help. I didn't want to even attempt to implement JAAS. Taking a look at you attached code cleared a few things up. If I reverse

Re: J2 Security Customization

2005-04-21 Thread Santiago Urrizola
Thanks a lot !! But so, want is the usefull of the UserManager, RoleManager, and all the other interfaces ... the class you send me work at the request level, its there anuy posibility to change only the base layer of the aplication, like, the getUser(String user) method of the UserManager or somet

RE: J2 Security Customization

2005-04-21 Thread Scott T Weaver
Yes, writing a security valve is very simple since J2 uses standard javax.security.Subject for authorization. I have attached the code I use that builds a Subject from our home grown SSO application. Hth, Scott > -Original Message- > From: Randy Watler [mailto:[EMAIL PROTECTED] > Sent: T

Re: J2 Security Customization

2005-04-21 Thread Santiago Urrizola
I see, his class. But i need to change for example: the data base acces, tables, columns, (the database model is diferent), a so on i think there is more classes ... isn't it ? - Original Message - From: "Randy Watler" <[EMAIL PROTECTED]> To: "Jetspeed Users List" Sent: Thursday, Ap

Re: J2 Security Customization

2005-04-21 Thread Randy Watler
Santiago, There are multiple solutions to this common requirement. The easiest is probably to implement your own SecurityValve. Just make sure you use the existing o/a/j/security.impl.SecurityValveImpl.java as a template. Then there is JAAS... Scott can probably comment in more detail. Randy Sa

J2 Security Customization

2005-04-21 Thread Santiago Urrizola
Hi, i wan t to change a part of the security model of J2, to adapt they on mi organization model. Basically i need to change the part where J2, 1 - retrive users from de DataBase. (my own tables, not the default tables of the j2), and obiously where save new/modified users 2 - autenticate the pa

Re: HEADS UP: Migration of jetspeed repositories to subversion

2005-04-21 Thread Ate Douma
Santiago Gala wrote: I created a JIRA issue WRT the migration of lists from jakarta.apache.org to portals.apache.org and moving jetspeed repositories from cvs to subversion: http://issues.apache.org/jira/browse/INFRA-302 We are trying to set up a schedule for the migration. The moment seems good, I

HEADS UP: Migration of jetspeed repositories to subversion

2005-04-21 Thread Santiago Gala
I created a JIRA issue WRT the migration of lists from jakarta.apache.org to portals.apache.org and moving jetspeed repositories from cvs to subversion: http://issues.apache.org/jira/browse/INFRA-302 We are trying to set up a schedule for the migration. The moment seems good, I hope nobody has re

Accessing Role and Group info

2005-04-21 Thread Bernie, Miles R \(UK - London\)
Hello, Perhaps you can help? I'm trying to write a Forum portlet as a means to learn all about portlets / struts bridges and of course the wonderful Jetspeed2 itself! In the portlet I'm writing I'd like to provide access to Forums based on a users Role membership. I understand that JAAS is being us

RE: Security error(?) in editing psml

2005-04-21 Thread Archana Turaga
Hmmm...I actually just took the PSML that you have in the email and put the file in my PSML database here and it came up fine without any problem. The other thing to check is the security-ref on the PortletCustomizer in admin.xreg. If it is user-only make it admin-only and try what you are doing

Re: Security error(?) in editing psml

2005-04-21 Thread Stefano Bianchi
The role is user! But please consider I can not access the portlets from the admin psml editor interface, not as stefano. - Original Message - From: "Archana Turaga" <[EMAIL PROTECTED]> To: "Jetspeed Users List" Sent: Thursday, April 21, 2005 4:37 PM Subject: RE: Security error(?) in edi

browser title changes to $data.profile.document.portlets.getMetaInfo().title in password reminder

2005-04-21 Thread Eugene Apanasenko
Hi All, I use Jetspeed 1.5. Does anyone know why the browser title changes to $data.profile.document.portlets.getMetaInfo().title when you click on "Email Password" button in LoginHelp template. Thanks a lot, Eugene - To unsubsc

RE: Security error(?) in editing psml

2005-04-21 Thread Archana Turaga
The other thing that can be checked is what role the stephano user got assigned. If it is guest then obviously the portlets will not be accessible since the access is only for user and admin. You can either check the User browser to check what role the user is or check the database. -Original

$cslink and layouts/default.vm problem (Jetspeed-1.6-dev)

2005-04-21 Thread Eugene Apanasenko
Hi, I have the same problem in 1.5. What I noticed is that the problem comes only when you disable left navigation bar. I think it has to do with the customization I've done, because, I'm not able to reproduce the problem using the sample war, even with the disabled left bar. Although your sugg

RE: Security error(?) in editing psml

2005-04-21 Thread Archana Turaga
Your problem is definitely related to the security-refs. Send your PSML file and I can maybe take a look in my PSML editor here to see if there are any problems. If possible your xreg definition too.. -Original Message- From: Stefano Bianchi [mailto:[EMAIL PROTECTED] Sent: Thursday, April

Security error(?) in editing psml

2005-04-21 Thread Stefano Bianchi
Dear ALL, I am using J1.5. I have a file based management of psml. For user stefano/stefano I have the following psml: ?xml version="1.0" encoding="iso-8859-1"?> No description found. Generic portlet My Home Home