Class OAuthClientInterceptor
- java.lang.Object
-
- de.hybris.platform.webservicescommons.interceptors.OAuthClientInterceptor
-
- All Implemented Interfaces:
Interceptor,PrepareInterceptor<OAuthClientDetailsModel>
public class OAuthClientInterceptor extends java.lang.Object implements PrepareInterceptor<OAuthClientDetailsModel>
-
-
Constructor Summary
Constructors Constructor Description OAuthClientInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.security.crypto.password.PasswordEncodergetClientSecretEncoder()voidonPrepare(OAuthClientDetailsModel model, InterceptorContext interceptorContext)Called in themodelService.saveAll()method.voidsetClientSecretEncoder(org.springframework.security.crypto.password.PasswordEncoder clientSecretEncoder)
-
-
-
Method Detail
-
onPrepare
public void onPrepare(OAuthClientDetailsModel model, InterceptorContext interceptorContext) throws InterceptorException
Description copied from interface:PrepareInterceptorCalled in themodelService.saveAll()method. Prepares the values of the given model.- Specified by:
onPreparein interfacePrepareInterceptor<OAuthClientDetailsModel>- Parameters:
model- the model which values has to be preparedinterceptorContext- theInterceptorContext- Throws:
InterceptorException- if an error occured during the preparation
-
getClientSecretEncoder
public org.springframework.security.crypto.password.PasswordEncoder getClientSecretEncoder()
-
setClientSecretEncoder
public void setClientSecretEncoder(org.springframework.security.crypto.password.PasswordEncoder clientSecretEncoder)
-
-