org.springframework.security.oauth2.provider
Interface ClientRegistrationService

All Known Implementing Classes:
JdbcClientDetailsService

public interface ClientRegistrationService

Interface for client registration, handling add, update and remove of ClientDetails from an Authorization Server.

Author:
Dave Syer

Method Summary
 void addClientDetails(ClientDetails clientDetails)
           
 List<ClientDetails> listClientDetails()
           
 void removeClientDetails(String clientId)
           
 void updateClientDetails(ClientDetails clientDetails)
           
 void updateClientSecret(String clientId, String secret)
           
 

Method Detail

addClientDetails

void addClientDetails(ClientDetails clientDetails)
                      throws ClientAlreadyExistsException
Throws:
ClientAlreadyExistsException

updateClientDetails

void updateClientDetails(ClientDetails clientDetails)
                         throws NoSuchClientException
Throws:
NoSuchClientException

updateClientSecret

void updateClientSecret(String clientId,
                        String secret)
                        throws NoSuchClientException
Throws:
NoSuchClientException

removeClientDetails

void removeClientDetails(String clientId)
                         throws NoSuchClientException
Throws:
NoSuchClientException

listClientDetails

List<ClientDetails> listClientDetails()


Copyright © 2012. All Rights Reserved.