These are chat archives for brahalla/Cerberus

9th
Aug 2016
Ihor
@metjka
Aug 09 2016 08:24
yes, i understand that
but where do you check if credentials are fine.
for example i was expecting something like this:
if("user" == user.username && "password" == user.password){
//then success
}
Ihor
@metjka
Aug 09 2016 08:44
I got it ;)
Is this code do the magic?
 @Autowired
    public void configureAuthentication(AuthenticationManagerBuilder authenticationManagerBuilder) throws Exception {
        authenticationManagerBuilder
                .userDetailsService(this.userDetailsService)
                .passwordEncoder(passwordEncoder());
    }
Daniel Cottone
@brahalla
Aug 09 2016 12:33
@metjka yes, that is where I configure the authentication manager.
Ihor
@metjka
Aug 09 2016 12:34
Thank you! I found some really good solutions in your project.
Daniel Cottone
@brahalla
Aug 09 2016 12:35
No problem, glad I could help!