Java 类org.springframework.security.web.authentication.preauth.PreAuthenticatedGrantedAuthoritiesUserDetailsService 实例源码

项目:syndesis    文件:SecurityConfiguration.java   
private AuthenticationProvider authenticationProvider() {
    PreAuthenticatedAuthenticationProvider authProvider = new PreAuthenticatedAuthenticationProvider();
    authProvider.setPreAuthenticatedUserDetailsService(new PreAuthenticatedGrantedAuthoritiesUserDetailsService());
    return authProvider;
}
项目:syndesis-rest    文件:SecurityConfiguration.java   
private AuthenticationProvider authenticationProvider() {
    PreAuthenticatedAuthenticationProvider authProvider = new PreAuthenticatedAuthenticationProvider();
    authProvider.setPreAuthenticatedUserDetailsService(new PreAuthenticatedGrantedAuthoritiesUserDetailsService());
    return authProvider;
}
项目:putput    文件:WebSecurityConfig.java   
@Bean
PreAuthenticatedAuthenticationProvider preAuthenticatedProvider() {
  PreAuthenticatedAuthenticationProvider preAuthenticatedAuthenticationProvider = new PreAuthenticatedAuthenticationProvider();
  preAuthenticatedAuthenticationProvider.setPreAuthenticatedUserDetailsService(new PreAuthenticatedGrantedAuthoritiesUserDetailsService());
  return preAuthenticatedAuthenticationProvider;
}
项目:psi-probe    文件:ProbeSecurityConfig.java   
/**
 * Gets the pre authenticated granted authorities user details service.
 *
 * @return the pre authenticated granted authorities user details service
 */
@Bean(name = "preAuthenticatedUserDetailsService")
public PreAuthenticatedGrantedAuthoritiesUserDetailsService getPreAuthenticatedGrantedAuthoritiesUserDetailsService() {
  return new PreAuthenticatedGrantedAuthoritiesUserDetailsService();
}