4 Replies Latest reply on Apr 12, 2013 12:45 PM by raylite3

    DB access in AuthenticationPlugin impl

    raylite3 Apprentice



      I need to access a DB in my implementation of the authentication plugin as mentioned in https://community.jboss.org/wiki/AddingCustomUserStoresToSecurityRealms


      What is the recommended way of getting access to a datasource? Do I look it up using JNDI ? Is injection via @Inject or @Resource supposed to work?