spring security - How to conditionally use AuthenticationProvider in SpringSecurity -


we using 2 different authenticationprovider in springsecurity authenticate users: 1 custom authenticationprovider, other 1 activedirectoryldapauthenticationprovider. however, configure app based on httpservletrequest, allow/disallow use activedirectoryldapauthenticationprovider. way implement this?


Comments

Popular posts from this blog

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -

javascript - oscilloscope of speaker input stops rendering after a few seconds -