log.info("OAuth2 enabled : client id '{}', authorizeUrl '{}'", oc.getClientId(), oc.getAuthorizeUrl()); oauth2.setClientId(oc.getClientId()); oauth2.setClientSecret(oc.getClientSecret()); oauth2.setAuthorizeUrl(oc.getAuthorizeUrl()); oauth2.setPublicKeyUrl(oc.getPublicKeyUrl()); oauth2.setTokenInfoUrl(oc.getTokenInfoUrl()); SecurityConsts.USER, SecurityConsts.USER, oc.getAuthorizeUrl(), oc.getTokenUrl(), SwaggerConstants.IMPLICIT, SecurityConsts.CLIENT, SecurityConsts.CLIENT, oc.getAuthorizeUrl(), oc.getTokenUrl(), SwaggerConstants.APPLICATION,