Skip to content

Commit

Permalink
Don't expose the config in VertxOAuth2AuthenticationMechanism
Browse files Browse the repository at this point in the history
  • Loading branch information
gsmet committed Oct 23, 2019
1 parent 15f0be5 commit ede6a76
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
Expand Up @@ -61,7 +61,5 @@ public void handle(AsyncResult<OAuth2Auth> event) {
VertxOAuth2AuthenticationMechanism mechanism = beanContainer.instance(VertxOAuth2AuthenticationMechanism.class);
mechanism.setAuth(auth);
mechanism.setAuthServerURI(config.authServerUrl);
mechanism.setConfig(config);

}
}
Expand Up @@ -24,16 +24,6 @@ public class VertxOAuth2AuthenticationMechanism implements HttpAuthenticationMec

private volatile String authServerURI;
private volatile OAuth2Auth auth;
private volatile OidcConfig config;

public OidcConfig getConfig() {
return config;
}

public VertxOAuth2AuthenticationMechanism setConfig(OidcConfig config) {
this.config = config;
return this;
}

public String getAuthServerURI() {
return authServerURI;
Expand Down

0 comments on commit ede6a76

Please sign in to comment.