PPaste!

in memory account

Home - All the pastes - Authored by Thooms

Raw version

1
2
3
4
5
6
@Override
        protected void registerAuthentication(AuthenticationManagerBuilder auth) {
            auth
                .inMemoryAuthentication()
                    .withUser("user").password("password").roles("USER");
        }