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.mitre.openid.connect.assertion.SAML2AuthenticationProvider.java

/**
 *
 * @author mrwc1264
 */
public class SAML2AuthenticationProvider implements AuthenticationProvider {
    private static final Logger LOG = LoggerFactory.getLogger(AuthenticationProvider.class);

From source file com.googlecode.janrain4j.springframework.security.JanrainAuthenticationProvider.java

/**
 * Finalizes the Janrain authentication by loading the local user details. 
 * The <code>UserDetails</code> are loaded by calling the configured 
 * <code>AuthenticationUserDetailsService</code>.
 * <p>
 * If no <code>AuthenticationUserDetailsService</code> is configured this 

From source file cn.net.withub.demo.bootsec.hello.security.CustomAuthenticationProvider.java

/**
 * ???Spring????
 *
 * @author Diluka
 */
public class CustomAuthenticationProvider implements AuthenticationProvider {

From source file com.climate.oada.security.oauth.CustomUserAuthenticationProvider.java

/**
 * The CustomUserAuthenticationProvider class implements the
 * AuthenticationProvider interface and implements the method authenticate to
 * authenticate the user.
 *
 */

From source file exanpe.t5.lib.demo.security.SameUserPasswordAP.java

public class SameUserPasswordAP implements AuthenticationProvider {

    public Authentication authenticate(Authentication authentication) throws AuthenticationException {
        String username = authentication.getName();
        GrantedAuthorityImpl ga = new GrantedAuthorityImpl("ROLE_" + username);
        List<GrantedAuthority> l = new ArrayList<GrantedAuthority>();

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

public interface AuthenticationService extends AuthenticationProvider, UserDetailsService, Auditable {
}

From source file com.example.CloudFoundryAuthenticationProvider.java

/**
 * @author Dave Syer
 *
 */
@Component
public class CloudFoundryAuthenticationProvider implements AuthenticationProvider {

From source file com.spfsolutions.ioms.auth.UserAuthenticationProvider.java

public class UserAuthenticationProvider implements AuthenticationProvider {

    private static final String ROLE_PREFIX = "ROLE_";
    private static final String PERMISSION_PREFIX = "PERMISSION_";

    @Autowired

From source file com.github.iexel.fontus.web.security.CustomAuthenticationProvider.java

@Component
public class CustomAuthenticationProvider implements AuthenticationProvider {
    @Override
    public Authentication authenticate(Authentication authentication) throws AuthenticationException {
        String name = authentication.getName();
        String password = authentication.getCredentials().toString();

From source file de.sainth.recipe.backend.security.UserAuthenticationProvider.java

@Component
public class UserAuthenticationProvider implements AuthenticationProvider {

    private final UserRepository userRepository;

    @Autowired