Single sign-on in CAS client setup with spring security
BalA VenkatesH
51

I don’t understand this bit of code:

provider.setUserDetailsService(
 s -> new User(“username”, “password”, true, true, true, true,
 AuthorityUtils.createAuthorityList(“ROLE_ADMIN”)));

How does it work ? what are we supposed to replace it with ?

Like what you read? Give Sylvain Auger-Léger a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.