This content has been marked as final.
Show 1 reply
-
1. Re: Lasting Credentials
andygodwin Apr 22, 2003 7:34 PM (in response to frobazz)AFAIK, there's nothing in JAAS to support persistent
logins. The login credentials are sent from the client
with every request, so once the client-side java
process terminates those credentials are gone.
CVS login works by just saving the login credentials to
a file, $HOME/.cvspass by default, I think. You could
do a similar thing in your apps (you might want to
encrypt the contents a bit, like CVS does). You could
add a timeout by checking the file's creation time, for
example.
HTH