Example usage for org.springframework.security.core Authentication interface-usage

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

Introduction

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

Usage

From source file com.example.oauth.ResourceUserAuthentication.java

public class ResourceUserAuthentication implements Authentication {

    private final UserDetails user;

    public ResourceUserAuthentication(final UserDetails user) {
        this.user = user;

From source file org.cloudfoundry.identity.uaa.authentication.UaaAuthentication.java

/**
 * Authentication token which represents a successfully authenticated user.
 *
 * @author Luke Taylor
 */
public class UaaAuthentication implements Authentication, Serializable {

From source file org.cloudfoundry.identity.uaa.test.MockAuthentication.java

public class MockAuthentication implements Authentication {
    @Override
    public Collection<? extends GrantedAuthority> getAuthorities() {
        return null;
    }

From source file nl.surfnet.mujina.model.SimpleAuthentication.java

@SuppressWarnings("serial")
public class SimpleAuthentication implements Authentication {

    private String username;
    private String password;
    private Collection<GrantedAuthority> authorities;

From source file com.himanshu.poc.springbootsec.domain.UserDO.java

public class UserDO implements Authentication {

    private String name;
    private String credentials;
    private Set<Role> roles;
    private boolean authenticated = false;

From source file org.openinfinity.core.common.AuthenticationStub.java

/**
 * Stub test class.
 * 
 * @author Ilkka Leinonen
 * @version 1.0.0
 * @since 1.0.0

From source file org.openmhealth.shim.ShimAuthentication.java

/**
 * Bare bones authentication required by spring security.
 *
 * @author Danilo Bonilla
 */
public class ShimAuthentication implements Authentication {

From source file shiver.me.timbers.security.spring.AuthenticatedAuthentication.java

/**
 * This is a very simple authentication is authenticated by default and contains no
 * {@link org.springframework.security.core.userdetails.UserDetails} or {@link GrantedAuthority}s.
 *
 * @author Karl Bennett
 */

From source file no.dusken.annonseweb.control.DummyAuthenticationUserDetails.java

/**
 * A dummy authentication used during tests.
 *
 * @author  Inge Edward Halsaunet
 */
public class DummyAuthenticationUserDetails implements Authentication, UserDetails {

From source file org.juiser.spring.security.core.ForwardedUserAuthentication.java

/**
 * @since 1.0.0
 */
public class ForwardedUserAuthentication implements Authentication {

    private final UserDetails details;