clean up code format

pull/338/head
Justin Richer 2013-05-10 11:38:34 -07:00
parent 671ea4d816
commit cd711a8ac6
1 changed files with 16 additions and 15 deletions

View File

@ -250,6 +250,7 @@ public class OIDCAuthenticationFilter extends AbstractAuthenticationProcessingFi
RestTemplate restTemplate; RestTemplate restTemplate;
if (clientConfig instanceof ClientDetailsEntity && SECRET_BASIC.equals(((ClientDetailsEntity) clientConfig).getTokenEndpointAuthMethod())){ if (clientConfig instanceof ClientDetailsEntity && SECRET_BASIC.equals(((ClientDetailsEntity) clientConfig).getTokenEndpointAuthMethod())){
// use BASIC auth if configured to do so
restTemplate = new RestTemplate(factory) { restTemplate = new RestTemplate(factory) {
@Override @Override