Example usage for org.springframework.security.authentication AuthenticationProvider interface-usage

List of usage examples for org.springframework.security.authentication AuthenticationProvider interface-usage

Introduction

In this page you can find the example usage for org.springframework.security.authentication AuthenticationProvider interface-usage.

Usage

From source file org.axonframework.samples.trader.webui.security.TraderAuthenticationProvider.java

/**
 * A custom spring security authentication provider that only supports {@link org.springframework.security.authentication.UsernamePasswordAuthenticationToken}
 * authentications. This provider uses Axon's command bus to dispatch an authentication command. The main reason for
 * creating a custom authentication provider is that Spring's UserDetailsService model doesn't fit our authentication
 * model as the UserAccount doesn't hold the password (UserDetailsService expects the UserDetails object to hold the
 * password, which is then compared with the password provided by the {@link org.springframework.security.authentication.UsernamePasswordAuthenticationToken}.

From source file com.gewara.web.support.OpenMemberAuthenticationProvider.java

/**
 * @author acerge(acerge@163.com)
 * @since 1:59:07 PM Mar 21, 2011
 */
public class OpenMemberAuthenticationProvider implements AuthenticationProvider {
    private final transient GewaLogger dbLogger = LoggerUtils.getLogger(getClass(), Config.getServerIp(),

From source file com.hp.autonomy.hod.sso.HodAuthenticationProvider.java

/**
 * AuthenticationProvider which consumes {@link HodTokenAuthentication} and produces {@link HodAuthentication}
 */
public class HodAuthenticationProvider implements AuthenticationProvider {
    private final GrantedAuthoritiesResolver authoritiesResolver;
    private final TokenRepository tokenRepository;

From source file sk.lazyman.gizmo.security.GizmoAuthProvider.java

/**
 * @author lazyman
 */
public class GizmoAuthProvider implements AuthenticationProvider {

    private static final Logger LOGGER = LoggerFactory.getLogger(GizmoAuthProvider.class);

From source file com.devicehive.auth.rest.providers.JwtTokenAuthenticationProvider.java

public class JwtTokenAuthenticationProvider implements AuthenticationProvider {
    private static final Logger logger = LoggerFactory.getLogger(JwtTokenAuthenticationProvider.class);

    @Autowired
    private JwtClientService jwtClientService;

From source file com.github.djabry.platform.service.security.DefaultAuthenticationProvider.java

/**
 * Created by djabry on 05/01/15.
 */

@Service
public class DefaultAuthenticationProvider implements AuthenticationProvider {

From source file software.coolstuff.springframework.owncloud.service.impl.rest.OwncloudRestAuthenticationProviderImpl.java

@Slf4j
public class OwncloudRestAuthenticationProviderImpl extends AbstractOwncloudRestServiceImpl
        implements AuthenticationProvider {

    private final OwncloudRestUserDetailsService userDetailsService;
    private final OwncloudGrantedAuthoritiesMappingService grantedAuthoritiesMappingService;

From source file com.katropine.oauth.CustomUserAuthenticationProvider.java

public class CustomUserAuthenticationProvider implements AuthenticationProvider {

    private static final Logger LOGGER = Logger.getLogger("CustomUserAuthenticationProvider");

    @EJB(mappedName = "UserDao")
    @Autowired

From source file com.blackducksoftware.tools.appedit.web.auth.AppEditAuthenticationProvider.java

/**
 * A Spring Security AuthenticationProvider. Decides whether or not a given set
 * of user credentials is authorized to log in. Uses CcUserAuthenticator to do
 * the authorization through Code Center.
 *
 * @author sbillings

From source file org.n52.oss.ui.services.OSSAuthenticationProvider.java

import org.springframework.stereotype.Service;

import com.google.gson.Gson;

@Service("userAuthService")
public class OSSAuthenticationProvider implements AuthenticationProvider {