@Configuration
public class PingFederateRemoteConfig
extends java.lang.Object
Constructor and Description |
---|
PingFederateRemoteConfig() |
Modifier and Type | Method and Description |
---|---|
org.springframework.security.oauth2.provider.token.DefaultAccessTokenConverter |
defaultAccessTokenConverter(org.springframework.security.oauth2.provider.token.UserAuthenticationConverter userAuthenticationConverter)
The class used to covert access tokens to authentications in Spring Security.
|
PingFederateRemoteTokenServices |
pingFederateTokenServices(org.springframework.security.oauth2.provider.token.DefaultAccessTokenConverter converter,
org.springframework.boot.autoconfigure.security.oauth2.resource.ResourceServerProperties resourceServerProperties,
com.netflix.spectator.api.Registry registry)
When we want to use Ping Federate as our provider/authorization server.
|
PingFederateUserAuthenticationConverter |
pingFederateUserAuthenticationConverter()
The class to convert the response from Ping Federate to an authentication object in Spring Security.
|
@Bean public PingFederateUserAuthenticationConverter pingFederateUserAuthenticationConverter()
@Bean public org.springframework.security.oauth2.provider.token.DefaultAccessTokenConverter defaultAccessTokenConverter(@NotNull org.springframework.security.oauth2.provider.token.UserAuthenticationConverter userAuthenticationConverter)
userAuthenticationConverter
- The user converter to use@Bean @Primary public PingFederateRemoteTokenServices pingFederateTokenServices(org.springframework.security.oauth2.provider.token.DefaultAccessTokenConverter converter, org.springframework.boot.autoconfigure.security.oauth2.resource.ResourceServerProperties resourceServerProperties, com.netflix.spectator.api.Registry registry)
converter
- The access token converter to useresourceServerProperties
- The properties to use to configure the token servicesregistry
- The metrics registry to use