@ConfigurationProperties(prefix="security.oauth2.resource")
public class ResourceServerProperties
extends java.lang.Object
implements org.springframework.beans.factory.BeanFactoryAware
Modifier and Type | Class and Description |
---|---|
class |
ResourceServerProperties.Jwk |
class |
ResourceServerProperties.Jwt |
Constructor and Description |
---|
ResourceServerProperties() |
ResourceServerProperties(java.lang.String clientId,
java.lang.String clientSecret) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getClientId() |
java.lang.String |
getClientSecret() |
java.lang.String |
getId() |
ResourceServerProperties.Jwk |
getJwk() |
ResourceServerProperties.Jwt |
getJwt() |
java.lang.String |
getResourceId() |
java.lang.String |
getServiceId() |
java.lang.String |
getTokenInfoUri() |
java.lang.String |
getTokenType() |
java.lang.String |
getUserInfoUri() |
boolean |
isPreferTokenInfo() |
void |
setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) |
void |
setId(java.lang.String id) |
void |
setJwk(ResourceServerProperties.Jwk jwk) |
void |
setJwt(ResourceServerProperties.Jwt jwt) |
void |
setPreferTokenInfo(boolean preferTokenInfo) |
void |
setServiceId(java.lang.String serviceId) |
void |
setTokenInfoUri(java.lang.String tokenInfoUri) |
void |
setTokenType(java.lang.String tokenType) |
void |
setUserInfoUri(java.lang.String userInfoUri) |
void |
validate() |
public ResourceServerProperties()
public ResourceServerProperties(java.lang.String clientId, java.lang.String clientSecret)
public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) throws org.springframework.beans.BeansException
setBeanFactory
in interface org.springframework.beans.factory.BeanFactoryAware
org.springframework.beans.BeansException
public java.lang.String getResourceId()
public java.lang.String getServiceId()
public void setServiceId(java.lang.String serviceId)
public java.lang.String getId()
public void setId(java.lang.String id)
public java.lang.String getUserInfoUri()
public void setUserInfoUri(java.lang.String userInfoUri)
public java.lang.String getTokenInfoUri()
public void setTokenInfoUri(java.lang.String tokenInfoUri)
public boolean isPreferTokenInfo()
public void setPreferTokenInfo(boolean preferTokenInfo)
public java.lang.String getTokenType()
public void setTokenType(java.lang.String tokenType)
public ResourceServerProperties.Jwt getJwt()
public void setJwt(ResourceServerProperties.Jwt jwt)
public ResourceServerProperties.Jwk getJwk()
public void setJwk(ResourceServerProperties.Jwk jwk)
public java.lang.String getClientId()
public java.lang.String getClientSecret()
@PostConstruct public void validate()