Learn how to use JUnit to test your Java apps! This is an advanced guide that tells a story about upgrading tests and the super hip testing support in Spring Security and Spring Boot.
@mattraible ~ This is a great post mate… thanks for the share!
What’s “AuthoritiesConstants.USER”? I can’t find the import.
I’ve been trying to figure out how to test APIs w/ Okta OIDC hooked in…that would make a good blog post
guessing that it’s “ROLE_USER” seems ok…