Example usage for org.springframework.security.core.userdetails UserDetailsService interface-usage

List of usage examples for org.springframework.security.core.userdetails UserDetailsService interface-usage

Introduction

In this page you can find the example usage for org.springframework.security.core.userdetails UserDetailsService interface-usage.

Usage

From source file org.snippr.web.users.services.DBUserDetailsService.java

/**
*
* @author Antonio Arias <antonio.arias@gmail.com>
*
*/
public class DBUserDetailsService implements UserDetailsService {

From source file springchat.service.UserDetailsServiceImpl.java

public class UserDetailsServiceImpl implements UserDetailsService {
    @Override
    public UserDetails loadUserByUsername(String name) throws UsernameNotFoundException {
        return new User(name, "", AuthorityUtils.createAuthorityList("ROLE_CHATUSER"));
    }
}

From source file com.hillert.botanic.service.DefaultUserDetailsService.java

/**
*
* @author Gunnar Hillert
* @since 1.0
*
*/

From source file com.example.LoginService.java

@Service
public class LoginService implements UserDetailsService {

    private static final String USER_ENDPOINT = "http://localhost:5000/db-app/user-internal";

    private final RestTemplate restTemplate;

From source file org.exoplatform.acceptance.security.CrowdUserDetailsServiceMock.java

/**
 * This Spring {@link org.springframework.security.core.userdetails.UserDetailsService} defines two accounts to use in the app for tests and dev.
 * An account with administrator role (admin/admin) and one with user role (user/user)
 *
 * @author Arnaud Hritier ( aheritier@exoplatform.com )
 * @since 2.0.0

From source file binky.reportrunner.service.AuthenticationService.java

public interface AuthenticationService extends AuthenticationProvider, UserDetailsService, Auditable {
}

From source file com.sivalabs.jcart.admin.security.CustomUserDetailsService.java

/**
 * @author Siva
 * @author rajakolli
 *
 */
@Service

From source file scratch.cucumber.example.security.spring.RepositoryUserDetailsService.java

/**
 * @author Karl Bennett
 */
@Component
public class RepositoryUserDetailsService implements UserDetailsService {

From source file org.pentaho.proxy.spring4.security.UserDetailsServiceImpl.java

/**
 * Created by tkafalas on 8/24/15.
 */
public class UserDetailsServiceImpl implements UserDetailsService {
    HashMap<String, UserDetailsImpl> userDetailsList = new HashMap<String, UserDetailsImpl>();
    ITenantedPrincipleNameResolver tenantedPrincipleNameResolver;

From source file com.expedia.seiso.security.UserDetailsServiceImpl.java

/**
 * @author Willie Wheeler
 */
@Service
@Transactional
public class UserDetailsServiceImpl implements UserDetailsService {