类 ResourceServerProperties
- java.lang.Object
- org.springframework.boot.autoconfigure.security.oauth2.resource.ResourceServerProperties
- 所有已实现的接口:
org.springframework.beans.factory.Aware
,org.springframework.beans.factory.BeanFactoryAware
,org.springframework.validation.Validator
@ConfigurationProperties(prefix="security.oauth2.resource") public class ResourceServerProperties extends Object implements org.springframework.validation.Validator, org.springframework.beans.factory.BeanFactoryAware
Configuration properties for OAuth2 Resources.- 从以下版本开始:
- 1.3.0
嵌套类概要
嵌套类 修饰符和类型 类 说明 class
ResourceServerProperties.Jwk
class
ResourceServerProperties.Jwt
构造器概要
构造器 构造器 说明 ResourceServerProperties()
ResourceServerProperties(String clientId, String clientSecret)
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 String
getClientId()
String
getClientSecret()
int
getFilterOrder()
String
getId()
ResourceServerProperties.Jwk
getJwk()
ResourceServerProperties.Jwt
getJwt()
String
getResourceId()
String
getServiceId()
String
getTokenInfoUri()
String
getTokenType()
String
getUserInfoUri()
boolean
isPreferTokenInfo()
void
setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
void
setFilterOrder(int filterOrder)
void
setId(String id)
void
setJwk(ResourceServerProperties.Jwk jwk)
void
setJwt(ResourceServerProperties.Jwt jwt)
void
setPreferTokenInfo(boolean preferTokenInfo)
void
setServiceId(String serviceId)
void
setTokenInfoUri(String tokenInfoUri)
void
setTokenType(String tokenType)
void
setUserInfoUri(String userInfoUri)
boolean
supports(Class<?> clazz)
void
validate(Object target, org.springframework.validation.Errors errors)
构造器详细资料
ResourceServerProperties
public ResourceServerProperties()
ResourceServerProperties
public ResourceServerProperties(String clientId, String clientSecret)
方法详细资料
setBeanFactory
public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) throws org.springframework.beans.BeansException
- 指定者:
setBeanFactory
在接口中org.springframework.beans.factory.BeanFactoryAware
- 抛出:
org.springframework.beans.BeansException
getResourceId
public String getResourceId()
getServiceId
public String getServiceId()
setServiceId
public void setServiceId(String serviceId)
getUserInfoUri
public String getUserInfoUri()
setUserInfoUri
public void setUserInfoUri(String userInfoUri)
getTokenInfoUri
public String getTokenInfoUri()
setTokenInfoUri
public void setTokenInfoUri(String tokenInfoUri)
isPreferTokenInfo
public boolean isPreferTokenInfo()
setPreferTokenInfo
public void setPreferTokenInfo(boolean preferTokenInfo)
getTokenType
public String getTokenType()
setTokenType
public void setTokenType(String tokenType)
getJwt
public ResourceServerProperties.Jwt getJwt()
setJwt
public void setJwt(ResourceServerProperties.Jwt jwt)
getJwk
public ResourceServerProperties.Jwk getJwk()
setJwk
public void setJwk(ResourceServerProperties.Jwk jwk)
getClientId
public String getClientId()
getClientSecret
public String getClientSecret()
getFilterOrder
public int getFilterOrder()
setFilterOrder
public void setFilterOrder(int filterOrder)
supports
public boolean supports(Class<?> clazz)
- 指定者:
supports
在接口中org.springframework.validation.Validator