Class HybrisPasswordCallback
java.lang.Object
de.hybris.platform.servicelayer.security.auth.impl.HybrisPasswordCallback
- All Implemented Interfaces:
CallbackHandler
Implementation of
CallbackHandler by means of AuthenticationService.- Spring Bean ID:
- hybrisPasswordCallback
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAuthenticates and logs in a user using anAuthenticationService.voidsetAuthenticationService(AuthenticationService authenticationService) voidsetUserToAuthenticationConverter(UserToAuthenticationConverter userToAuthenticationConverter)
-
Constructor Details
-
HybrisPasswordCallback
public HybrisPasswordCallback()
-
-
Method Details
-
handle
Authenticates and logs in a user using anAuthenticationService. Expects given callbacks to be of typeWSPasswordCallback.- Specified by:
handlein interfaceCallbackHandler- Throws:
IOExceptionUnsupportedCallbackException
-
setAuthenticationService
-
setUserToAuthenticationConverter
public void setUserToAuthenticationConverter(UserToAuthenticationConverter userToAuthenticationConverter)
-