public class DiscoveryPropertySource extends org.springframework.core.env.EnumerablePropertySource<String>
PropertySource that maps the values from an OIDC discovery
metadata endpoint to Spring Security's expected {code}security.oauth2.*{code} properties.
NOTE: Discovery can be disabled by setting the property {code}okta.oauth2.discoveryDisabled=true{code}.
| Constructor and Description |
|---|
DiscoveryPropertySource(org.springframework.core.env.Environment environment) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsProperty(String name) |
Object |
getProperty(String name) |
String[] |
getPropertyNames() |
public DiscoveryPropertySource(org.springframework.core.env.Environment environment)
public Object getProperty(String name)
getProperty in class org.springframework.core.env.PropertySource<String>public boolean containsProperty(String name)
containsProperty in class org.springframework.core.env.EnumerablePropertySource<String>Copyright © 2017–2018 Okta. All rights reserved.