Skip to content

Instantly share code, notes, and snippets.

🏠
Working from home

Brandon Vulaj bvulaj

🏠
Working from home
Block or report user

Report or block bvulaj

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@dasniko
dasniko / example.java
Created Nov 27, 2017
Create AuthzClient with Spring Boot Adapter
View example.java
@Bean
public AuthzClient authzClient(KeycloakSpringBootProperties kcProperties) {
Configuration configuration = new Configuration(
kcProperties.getAuthServerUrl(), kcProperties.getRealm(),
kcProperties.getResource(), kcProperties.getCredentials(), null);
return AuthzClient.create(configuration);
}
You can’t perform that action at this time.