hello, Any sample of how to define my own bean and where?
I need use the default password encoder for AD/LDAP and one customized for an Oracle database. Tnx in advance El jueves, 26 de mayo de 2016, 20:01:45 (UTC+2), Misagh Moayyed escribió: > > This is where the configuration falls short a bit where multiple encoders > in > the way that you describe are not easily put in place. You're welcome to > file an issue. > > In the meantime, you will need to define the bean manually on your own > rather than falling back onto a pre-configured instance. > > > -----Original Message----- > > From: [email protected] <javascript:> [mailto:[email protected] > <javascript:>] On Behalf Of > > Harald Glanzer > > Sent: Wednesday, May 25, 2016 8:43 AM > > To: CAS Community <[email protected] <javascript:>> > > Subject: [cas-user] cas 4.2 / different password encoders > > > > hello cas-users, > > > > i have two different authentication handlers: > > > > * JDBC / searchModeSearchDatabaseAuthenticationHandler > > * LDAP / ad-authenticator > > > > for the JDBC handler i need a special password encoder (hashed password, > > similiar to unix/passwd file) for LDAP, i just want to use the default > > password > > encoder. > > > > both solutions work fine on its own (by setting passwordEncoder to my > own > > encoder or the default encoder), but i dont know how to combine them > > - how can i set the default encoder to 'passwordEncoder', and the > encoder > > for > > JDBC to my own? > > > > thx in advance! > > harri > > > > -- > > You received this message because you are subscribed to the Google > Groups > > "CAS Community" group. > > To unsubscribe from this group and stop receiving emails from it, send > an > > email to [email protected] <javascript:>. > > To post to this group, send email to [email protected] <javascript:>. > > Visit this group at > > https://groups.google.com/a/apereo.org/group/cas-user/. > > To view this discussion on the web visit > > https://groups.google.com/a/apereo.org/d/msgid/cas- > > user/5745C7EC.2060208%40gmail.com. > > For more options, visit https://groups.google.com/a/apereo.org/d/optout. > > -- - CAS gitter chatroom: https://gitter.im/apereo/cas - CAS mailing list guidelines: https://apereo.github.io/cas/Mailing-Lists.html - CAS documentation website: https://apereo.github.io/cas - CAS project website: https://github.com/apereo/cas --- You received this message because you are subscribed to the Google Groups "CAS Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/44ffe3b7-8a8d-483f-bade-f62c2f954658%40apereo.org.
