Class IridaRegisteredClientsRepository
- java.lang.Object
-
- ca.corefacility.bioinformatics.irida.oauth2.IridaRegisteredClientsRepository
-
- All Implemented Interfaces:
org.springframework.security.oauth2.server.authorization.client.RegisteredClientRepository
@Component public class IridaRegisteredClientsRepository extends java.lang.Object implements org.springframework.security.oauth2.server.authorization.client.RegisteredClientRepository
A converter implementation ofRegisteredClientRepository
, that transformsIridaClientDetails
to/fromRegisteredClient
.
-
-
Constructor Summary
Constructors Constructor Description IridaRegisteredClientsRepository(IridaClientDetailsRepository clientDetailsRepository)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.security.oauth2.server.authorization.client.RegisteredClient
findByClientId(java.lang.String clientId)
org.springframework.security.oauth2.server.authorization.client.RegisteredClient
findById(java.lang.String id)
void
save(org.springframework.security.oauth2.server.authorization.client.RegisteredClient registeredClient)
-
-
-
Constructor Detail
-
IridaRegisteredClientsRepository
public IridaRegisteredClientsRepository(IridaClientDetailsRepository clientDetailsRepository)
-
-
Method Detail
-
save
public void save(org.springframework.security.oauth2.server.authorization.client.RegisteredClient registeredClient)
- Specified by:
save
in interfaceorg.springframework.security.oauth2.server.authorization.client.RegisteredClientRepository
-
findById
public org.springframework.security.oauth2.server.authorization.client.RegisteredClient findById(java.lang.String id)
- Specified by:
findById
in interfaceorg.springframework.security.oauth2.server.authorization.client.RegisteredClientRepository
-
findByClientId
public org.springframework.security.oauth2.server.authorization.client.RegisteredClient findByClientId(java.lang.String clientId)
- Specified by:
findByClientId
in interfaceorg.springframework.security.oauth2.server.authorization.client.RegisteredClientRepository
-
-