Package io.jmix.restds.impl
Class RestPasswordAuthenticator
java.lang.Object
io.jmix.restds.impl.RestPasswordAuthenticator
- All Implemented Interfaces:
RestAuthenticator
@Component("restds_RestPasswordAuthenticator")
@Scope("prototype")
public class RestPasswordAuthenticator
extends Object
implements RestAuthenticator
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
authenticate
(String username, String password) org.springframework.http.client.ClientHttpRequestInterceptor
Creates authentication interceptor to be used byRestInvoker
.void
setDataStoreName
(String name) Sets data store name of this authenticator.
-
Constructor Details
-
RestPasswordAuthenticator
public RestPasswordAuthenticator()
-
-
Method Details
-
setDataStoreName
Description copied from interface:RestAuthenticator
Sets data store name of this authenticator.- Specified by:
setDataStoreName
in interfaceRestAuthenticator
-
getAuthenticationInterceptor
public org.springframework.http.client.ClientHttpRequestInterceptor getAuthenticationInterceptor()Description copied from interface:RestAuthenticator
Creates authentication interceptor to be used byRestInvoker
.- Specified by:
getAuthenticationInterceptor
in interfaceRestAuthenticator
-
authenticate
-