views:

36

answers:

1

Hi all,

I've implemented a Jaas Login Module, in order to perform authentication. I must access database to retrieve user/pass information within this module.

In the same project, there exists some DAO bean's implemented, but it's impossible to access Spring context from the jaas login module, to retrieve the DAO bean.

¿Anyone could help me please?

I'm using Spring Security to integrate Jaas in my application.

A: 

Have you tried SecurityContextHolder.getContext()? What does this return within your jaas login module?

Nigel_V_Thomas