[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [riena-dev] How to store the password in the application server?
|
I am not sure what you really wonna do. The userid and password that
the user enters in the LoginModule and gets sent to
AuthenticationService and verified in the AuthenticationModule is
really not meant to be used to access the backend database itself.
Because that would mean that you had to reconnect to the database for
each remote service request. Rather you should have a fixed userid
password for the database connection itself and only use the users's
userid and password to validate the identity at login time.
Does that help ?
cheers
christian
Am 07.05.2009 um 11:56 schrieb yau:
I want to use the user name and password sended by the client to
connect the database in the application server.
The user name I can retrived by SubjectAccessor, but I dont known
how - ,where - ,when - to store the password?
I just known the LoginModule in the server can receive the password
sended by the client.
Yau
<ATT00001.c>