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.openmrs.contrib.metadatarepository.service.MockUserDetailsService.java

public class MockUserDetailsService implements UserDetailsService {
    public UserDetails loadUserByUsername(String username) throws UsernameNotFoundException, DataAccessException {
        return new User("testuser");
    }
}

From source file org.socialsignin.exfmproxy.mvc.auth.ExFmUserDetailsService.java

@Component("exFmUserDetailsService")
public class ExFmUserDetailsService implements UserDetailsService {

    public UserDetails loadUserByUsername(String username) throws UsernameNotFoundException {
        // TODO Implement this method in a production system with access to Ex.Fm user database
        return null;

From source file org.datacite.mds.service.userdetails.BaseMasterUserDetailsService.java

/**
 * This class is responsible for retrieving master user details. The
 * crendentials for a given username are built from its role and username 
 * and the password of the master user (e.g. allocator or admin).
 */
public abstract class BaseMasterUserDetailsService implements UserDetailsService {

From source file com.itn.services.CustomUserDetailsService.java

/**
 *
 * This class is needed for password encryption
 */
@Service("customUserDetailsService")
public class CustomUserDetailsService implements UserDetailsService {

From source file business.security.CustomUserDetailsService.java

@Component
public class CustomUserDetailsService implements UserDetailsService {

    @Autowired
    UserRepository userRepository;

From source file net.triptech.buildulator.service.OpenIdUserDetailsService.java

/**
 * The Class OpenIdUserDetailsService.
 */
public class OpenIdUserDetailsService implements UserDetailsService {

    /**

From source file grails.plugin.springsecurity.userdetails.GrailsUserDetailsService.java

/**
 * Extension of the standard interface that allows specifying whether or not to load roles
 * from the database, e.g. for LDAP where role information is inferred from LDAP group membership.
 *
 * @author <a href='mailto:burt@burtbeckwith.com'>Burt Beckwith</a>
 */

From source file ts.security.MongoUserDetailsService.java

/**
 *
 * @author njanma
 */
@Component(value = "mongoUserDetailsService")
public class MongoUserDetailsService implements UserDetailsService {

From source file net.buzzfactory.shoppinglist.repository.user.UserRepository.java

/**
 *
 * @author tetio
 */
public interface UserRepository extends JpaRepository<User, Long>, UserDetailsService {

From source file org.callistasoftware.netcare.core.spi.UserDetailsService.java

/**
 * Defines the user details service
 * 
 * @author Marcus Krantz [marcus.krantz@callistaenterprise.se]
 *
 */