public class HybrisPasswordCallback
extends java.lang.Object
implements javax.security.auth.callback.CallbackHandler
CallbackHandler by means of AuthenticationService.| Constructor and Description |
|---|
HybrisPasswordCallback() |
| Modifier and Type | Method and Description |
|---|---|
void |
handle(javax.security.auth.callback.Callback[] callbacks)
Authenticates and logs in a user using an
AuthenticationService. |
void |
setAuthenticationService(AuthenticationService authenticationService) |
void |
setUserToAuthenticationConverter(UserToAuthenticationConverter userToAuthenticationConverter) |
public void handle(javax.security.auth.callback.Callback[] callbacks)
throws java.io.IOException,
javax.security.auth.callback.UnsupportedCallbackException
AuthenticationService. Expects given callbacks to be of type
WSPasswordCallback.handle in interface javax.security.auth.callback.CallbackHandlerjava.io.IOExceptionjavax.security.auth.callback.UnsupportedCallbackExceptionpublic void setAuthenticationService(AuthenticationService authenticationService)
public void setUserToAuthenticationConverter(UserToAuthenticationConverter userToAuthenticationConverter)
Copyright © 2018 SAP SE. All Rights Reserved.