Java 类org.springframework.boot.autoconfigure.security.oauth2.resource.FixedAuthoritiesExtractor 实例源码

项目:weazbootgradle    文件:CustomPrincipalExtractor.java   
public CustomPrincipalExtractor(FixedAuthoritiesExtractor fixedAuthoritiesExtractor) {
    this.fixedAuthoritiesExtractor = fixedAuthoritiesExtractor;
}
项目:weazbootgradle    文件:OAuth2Configuration.java   
@Bean
public CustomPrincipalExtractor customPrincipalExtractor(FixedAuthoritiesExtractor fixedAuthoritiesExtractor) {
    return new CustomPrincipalExtractor(fixedAuthoritiesExtractor);
}
项目:weazbootgradle    文件:OAuth2Configuration.java   
@Bean
public FixedAuthoritiesExtractor fixedAuthoritiesExtractor() {
    return new FixedAuthoritiesExtractor();
}