@Deprecated public class JdbcClientDetailsService extends Object implements ClientDetailsService, ClientRegistrationService
Constructor and Description |
---|
JdbcClientDetailsService(DataSource dataSource)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
addClientDetails(ClientDetails clientDetails)
Deprecated.
|
List<ClientDetails> |
listClientDetails()
Deprecated.
|
ClientDetails |
loadClientByClientId(String clientId)
Deprecated.
Load a client by the client id.
|
void |
removeClientDetails(String clientId)
Deprecated.
|
void |
setDeleteClientDetailsSql(String deleteClientDetailsSql)
Deprecated.
|
void |
setFindClientDetailsSql(String findClientDetailsSql)
Deprecated.
|
void |
setInsertClientDetailsSql(String insertClientDetailsSql)
Deprecated.
|
void |
setListFactory(JdbcListFactory listFactory)
Deprecated.
|
void |
setPasswordEncoder(org.springframework.security.crypto.password.PasswordEncoder passwordEncoder)
Deprecated.
|
void |
setRowMapper(RowMapper<ClientDetails> rowMapper)
Deprecated.
|
void |
setSelectClientDetailsSql(String selectClientDetailsSql)
Deprecated.
|
void |
setUpdateClientDetailsSql(String updateClientDetailsSql)
Deprecated.
|
void |
setUpdateClientSecretSql(String updateClientSecretSql)
Deprecated.
|
void |
updateClientDetails(ClientDetails clientDetails)
Deprecated.
|
void |
updateClientSecret(String clientId,
String secret)
Deprecated.
|
public JdbcClientDetailsService(DataSource dataSource)
public void setPasswordEncoder(org.springframework.security.crypto.password.PasswordEncoder passwordEncoder)
passwordEncoder
- the password encoder to setpublic ClientDetails loadClientByClientId(String clientId) throws InvalidClientException
ClientDetailsService
loadClientByClientId
in interface ClientDetailsService
clientId
- The client id.InvalidClientException
public void addClientDetails(ClientDetails clientDetails) throws ClientAlreadyExistsException
addClientDetails
in interface ClientRegistrationService
ClientAlreadyExistsException
public void updateClientDetails(ClientDetails clientDetails) throws NoSuchClientException
updateClientDetails
in interface ClientRegistrationService
NoSuchClientException
public void updateClientSecret(String clientId, String secret) throws NoSuchClientException
updateClientSecret
in interface ClientRegistrationService
NoSuchClientException
public void removeClientDetails(String clientId) throws NoSuchClientException
removeClientDetails
in interface ClientRegistrationService
NoSuchClientException
public List<ClientDetails> listClientDetails()
listClientDetails
in interface ClientRegistrationService
public void setSelectClientDetailsSql(String selectClientDetailsSql)
public void setDeleteClientDetailsSql(String deleteClientDetailsSql)
public void setUpdateClientDetailsSql(String updateClientDetailsSql)
public void setUpdateClientSecretSql(String updateClientSecretSql)
public void setInsertClientDetailsSql(String insertClientDetailsSql)
public void setFindClientDetailsSql(String findClientDetailsSql)
public void setListFactory(JdbcListFactory listFactory)
listFactory
- the list factory to setpublic void setRowMapper(RowMapper<ClientDetails> rowMapper)
rowMapper
- the rowMapper to setCopyright © 2019. All rights reserved.