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 something like that ??
or its convenient, to change al the clases begin with the SecurityValve ???


----- Original Message ----- 
From: "Scott T Weaver" <[EMAIL PROTECTED]>
To: "'Jetspeed Users List'" <jetspeed-user@jakarta.apache.org>
Sent: Thursday, April 21, 2005 5:13 PM
Subject: RE: J2 Security Customization


> 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: Thursday, April 21, 2005 4:00 PM
> > To: Jetspeed Users List
> > Subject: Re: J2 Security Customization
> >
> > 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
> >
> > Santiago Urrizola wrote:
> >
> > >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 passwords of login users
> > >3 - retrive all groups and roles, and users in a group role.
> > >
> > >I see the sources for a while, and see a lot of places where i can
change
> > this, but i dont know where is the correct place (class or classes) to
> > change it. I see UserManager, and think its posible to create a new
> > UserManager, but this class dont have full control of the users, i know
> > tht i need to change the implementor of some interfaces in the *.xml in
> > the assembly director.
> > >But can some one tell me how classes i must modify (or create new
> > implementor for this interaces) ???
> > >Thank you very very very very much
> > >
> > >Santiago
> > >
> > >
> > >
> > >
> >
> >
> > ---------------------------------------------------------------------
> > 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]

Reply via email to