Class HybrisPasswordCallback
- java.lang.Object
-
- de.hybris.platform.servicelayer.security.auth.impl.HybrisPasswordCallback
-
- All Implemented Interfaces:
javax.security.auth.callback.CallbackHandler
public class HybrisPasswordCallback extends java.lang.Object implements javax.security.auth.callback.CallbackHandlerImplementation ofCallbackHandlerby means ofAuthenticationService.- Spring Bean ID:
- hybrisPasswordCallback
-
-
Constructor Summary
Constructors Constructor Description HybrisPasswordCallback()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidhandle(javax.security.auth.callback.Callback[] callbacks)Authenticates and logs in a user using anAuthenticationService.voidsetAuthenticationService(AuthenticationService authenticationService)voidsetUserToAuthenticationConverter(UserToAuthenticationConverter userToAuthenticationConverter)
-
-
-
Method Detail
-
handle
public void handle(javax.security.auth.callback.Callback[] callbacks) throws java.io.IOException, javax.security.auth.callback.UnsupportedCallbackExceptionAuthenticates and logs in a user using anAuthenticationService. Expects given callbacks to be of typeWSPasswordCallback.- Specified by:
handlein interfacejavax.security.auth.callback.CallbackHandler- Throws:
java.io.IOExceptionjavax.security.auth.callback.UnsupportedCallbackException
-
setAuthenticationService
public void setAuthenticationService(AuthenticationService authenticationService)
-
setUserToAuthenticationConverter
public void setUserToAuthenticationConverter(UserToAuthenticationConverter userToAuthenticationConverter)
-
-