Thursday, November 6, 2003 06:25:28
SH>> I can't imagine that Jboss would do a db lookup every time a
SH>> method is invoked.
AT> You can keep security information in any place (file, LDAP server,
AT> database, JNDI service, etc.) - it depends or the server login module
AT> configuration. In addition, user/role information is cached after
AT> successful authorization.
^^^^^^^^^^^^^^^^
I meant here authentication. But I have some doubts - is it done in
the end of successful authentication, or just before the first
authorization? - I don't know it.
And I forgot to write in the beginning of the answer, that JBoss does
not do lookup every time a method is invoked.
Best regards,
Alexander
On Thu, 6 Nov 2003 05:41:52 +0000, you wrote:
AT> Thursday, November 6, 2003 05:33:14
AT> Hello Steven.
AT> JBoss is very flexible :)
SH>> Isn't this user information cached?
AT> Yes, it is (or it should be cached).
SH>> I can't imagine that Jboss would do a db lookup every time a
SH>> method is invoked.
AT> You can keep security information in any place (file, LDAP server,
AT> database, JNDI service, etc.) - it depends or the server login module
AT> configuration. In addition, user/role information is cached after
AT> successful authorization.
SH>> So wouldn't you have to flush this cache?
AT> Yes, you have to do something with the cache - flush it totally,
AT> remove the user (which associations with roles were changed) from the
AT> cache, or change the default security cache in a way you will be able
AT> to make correspondent modification without cache flushing and user
AT> re-login.
AT> Best regards,
AT> Alexander
AT> On Wed, 5 Nov 2003 09:41:52 -0500, you wrote:
SH>> Isn't this user information cached? I can't imagine that Jboss would do a db
SH>> lookup every time a method is invoked. So wouldn't you have to flush this
SH>> cache?
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user