public class OAuthClientInterceptor extends Object implements PrepareInterceptor<OAuthClientDetailsModel>
| Constructor and Description |
|---|
OAuthClientInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
PasswordEncoder |
getClientSecretEncoder() |
void |
onPrepare(OAuthClientDetailsModel model,
InterceptorContext interceptorContext)
Called in the
modelService.saveAll() method. |
void |
setClientSecretEncoder(PasswordEncoder clientSecretEncoder) |
public void onPrepare(OAuthClientDetailsModel model, InterceptorContext interceptorContext) throws InterceptorException
PrepareInterceptormodelService.saveAll() method. Prepares the values of the given model.onPrepare in interface PrepareInterceptor<OAuthClientDetailsModel>model - the model which values has to be preparedinterceptorContext - the InterceptorContextInterceptorException - if an error occured during the preparationpublic PasswordEncoder getClientSecretEncoder()
public void setClientSecretEncoder(PasswordEncoder clientSecretEncoder)
Copyright © 2017 SAP SE. All Rights Reserved.