public class CredHubTemplateFactory extends Object
CredHubTemplate
used to communicate with CredHub.Constructor and Description |
---|
CredHubTemplateFactory() |
Modifier and Type | Method and Description |
---|---|
CredHubTemplate |
credHubTemplate(CredHubProperties credHubProperties,
ClientOptions clientOptions)
Create a
CredHubTemplate for interaction with a CredHub server. |
CredHubOperations |
credHubTemplate(CredHubProperties credHubProperties,
ClientOptions clientOptions,
org.springframework.security.oauth2.client.registration.ClientRegistrationRepository clientRegistrationRepository,
org.springframework.security.oauth2.client.OAuth2AuthorizedClientManager clientManager)
Create a
CredHubTemplate for interaction with a CredHub server using OAuth2
for authentication. |
CredHubTemplate |
credHubTemplate(CredHubProperties credHubProperties,
ClientOptions clientOptions,
org.springframework.security.oauth2.client.registration.ClientRegistrationRepository clientRegistrationRepository,
org.springframework.security.oauth2.client.web.OAuth2AuthorizedClientRepository authorizedClientRepository)
Create a
CredHubTemplate for interaction with a CredHub server using OAuth2
for authentication. |
ReactiveCredHubTemplate |
reactiveCredHubTemplate(CredHubProperties credHubProperties,
ClientOptions clientOptions)
Create a
ReactiveCredHubTemplate for interaction with a CredHub server. |
ReactiveCredHubOperations |
reactiveCredHubTemplate(CredHubProperties credHubProperties,
ClientOptions clientOptions,
org.springframework.security.oauth2.client.registration.ReactiveClientRegistrationRepository clientRegistrationRepository,
org.springframework.security.oauth2.client.web.server.ServerOAuth2AuthorizedClientRepository authorizedClientRepository)
Create a
ReactiveCredHubTemplate for interaction with a CredHub server
using OAuth2 for authentication. |
ReactiveCredHubOperations |
reactiveCredHubTemplate(CredHubProperties credHubProperties,
ClientOptions clientOptions,
org.springframework.security.oauth2.client.ReactiveOAuth2AuthorizedClientManager clientManager)
Create a
ReactiveCredHubTemplate for interaction with a CredHub server
using OAuth2 for authentication. |
public CredHubTemplate credHubTemplate(CredHubProperties credHubProperties, ClientOptions clientOptions)
CredHubTemplate
for interaction with a CredHub server.credHubProperties
- connection propertiesclientOptions
- connection optionsCredHubTemplate
public CredHubTemplate credHubTemplate(CredHubProperties credHubProperties, ClientOptions clientOptions, org.springframework.security.oauth2.client.registration.ClientRegistrationRepository clientRegistrationRepository, org.springframework.security.oauth2.client.web.OAuth2AuthorizedClientRepository authorizedClientRepository)
CredHubTemplate
for interaction with a CredHub server using OAuth2
for authentication.credHubProperties
- connection propertiesclientOptions
- connection optionsclientRegistrationRepository
- a repository of OAuth2 client registrationsauthorizedClientRepository
- a repository of authorized OAuth2 clientsCredHubTemplate
public CredHubOperations credHubTemplate(CredHubProperties credHubProperties, ClientOptions clientOptions, org.springframework.security.oauth2.client.registration.ClientRegistrationRepository clientRegistrationRepository, org.springframework.security.oauth2.client.OAuth2AuthorizedClientManager clientManager)
CredHubTemplate
for interaction with a CredHub server using OAuth2
for authentication.credHubProperties
- connection propertiesclientOptions
- connection optionsclientRegistrationRepository
- a repository of OAuth2 client registrationsclientManager
- an OAuth2 authorization client managerCredHubTemplate
public ReactiveCredHubTemplate reactiveCredHubTemplate(CredHubProperties credHubProperties, ClientOptions clientOptions)
ReactiveCredHubTemplate
for interaction with a CredHub server.credHubProperties
- connection propertiesclientOptions
- connection optionsReactiveCredHubTemplate
public ReactiveCredHubOperations reactiveCredHubTemplate(CredHubProperties credHubProperties, ClientOptions clientOptions, org.springframework.security.oauth2.client.registration.ReactiveClientRegistrationRepository clientRegistrationRepository, org.springframework.security.oauth2.client.web.server.ServerOAuth2AuthorizedClientRepository authorizedClientRepository)
ReactiveCredHubTemplate
for interaction with a CredHub server
using OAuth2 for authentication.credHubProperties
- connection propertiesclientOptions
- connection optionsclientRegistrationRepository
- a repository of OAuth2 client registrationsauthorizedClientRepository
- a repository of OAuth2 client authorizationsReactiveCredHubTemplate
public ReactiveCredHubOperations reactiveCredHubTemplate(CredHubProperties credHubProperties, ClientOptions clientOptions, org.springframework.security.oauth2.client.ReactiveOAuth2AuthorizedClientManager clientManager)
ReactiveCredHubTemplate
for interaction with a CredHub server
using OAuth2 for authentication.credHubProperties
- connection propertiesclientOptions
- connection optionsclientManager
- an OAuth2 authorization client managerReactiveCredHubTemplate