Add client credentials authentication filter
Fixes gh-5
This commit is contained in:
committed by
Joe Grandja
parent
4c8f89af5c
commit
18b09af3e9
@@ -44,11 +44,11 @@ public class OAuth2ClientAuthenticationToken extends AbstractAuthenticationToken
|
||||
|
||||
@Override
|
||||
public Object getCredentials() {
|
||||
return null;
|
||||
return this.clientSecret;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Object getPrincipal() {
|
||||
return null;
|
||||
return this.clientId;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user