Announcement Announcement Module
Collapse
No announcement yet.
Spring password Encoder issue Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spring password Encoder issue

    Hi,

    Am trying to setup SSO for my spring application using weblogic. Application uses DB to store username and encoded password which is done using spring password encoder which is configured as bean. In my actual application the password encoder bean lookup is happening through a custom context class which implements ApplicationContextAware interface.

    Now am configuring the custom DB authenticator for my application. Here i need to do the similar logic for authentication. Since this authenticator class is loaded even before the application is deployed, am getting null pointer when i do the lookup for this bean.

    Now i don't have a way to authenticate user with the DB as password encoder bean is null.

    Is there a way to load the password encode bean early or any work around for this ?

    Thanks,
    Sandeep
Working...
X