0 Replies Latest reply on Apr 4, 2013 2:01 AM by balaji chode

    Custom Login module using org.picketbox.datasource.security.AbstractPasswordCredentialLoginModule

    balaji chode Newbie

      Recently migrated from JBoss-4.2 to JBoss-7.1.1 (Final) .

       

       

      We have custom login module to retrieve password and set credentials.

       

      JBoss-4.2

       

      PasswordCredential cred = new PasswordCredential(username,password);

      cred.setManagedConnectionFactory(getMcf());

      SubjectActions.addCredentials(subject,cred);

       

      In JBoss-7.1.1 we are using AbstractPasswordCredentialLoginModule from picketbox , now we have no option to get managedconnection factory to set credentails.

       

      Due to this custom login module is being called for each connection and causing performace issues.

       

      Please advise how can we can address this.