public class ClientDetailsServiceBuilder<B extends ClientDetailsServiceBuilder<B>> extends org.springframework.security.config.annotation.SecurityConfigurerAdapter<ClientDetailsService,B> implements org.springframework.security.config.annotation.SecurityBuilder<ClientDetailsService>
ClientDetailsService
and populate it with data.Modifier and Type | Class and Description |
---|---|
class |
ClientDetailsServiceBuilder.ClientBuilder |
Constructor and Description |
---|
ClientDetailsServiceBuilder() |
Modifier and Type | Method and Description |
---|---|
protected void |
addClient(String clientId,
ClientDetails build) |
ClientDetailsService |
build() |
ClientDetailsServiceBuilder<?> |
clients(ClientDetailsService clientDetailsService) |
InMemoryClientDetailsServiceBuilder |
inMemory() |
JdbcClientDetailsServiceBuilder |
jdbc() |
protected ClientDetailsService |
performBuild() |
ClientDetailsServiceBuilder.ClientBuilder |
withClient(String clientId) |
public InMemoryClientDetailsServiceBuilder inMemory() throws Exception
Exception
public JdbcClientDetailsServiceBuilder jdbc() throws Exception
Exception
public ClientDetailsServiceBuilder<?> clients(ClientDetailsService clientDetailsService) throws Exception
Exception
public ClientDetailsServiceBuilder.ClientBuilder withClient(String clientId)
public ClientDetailsService build() throws Exception
build
in interface org.springframework.security.config.annotation.SecurityBuilder<ClientDetailsService>
Exception
protected void addClient(String clientId, ClientDetails build)
protected ClientDetailsService performBuild()
Copyright © 2019. All rights reserved.