List of usage examples for org.springframework.security.core Authentication interface-usage
From source file org.apache.syncope.core.spring.security.JWTAuthentication.java
/** * Represents the token for an authentication request or for an authenticated principal as JSON Web Token, * once the request has been processed by the * {@link org.springframework.security.authentication.AuthenticationManager#authenticate(Authentication)} method. */ public class JWTAuthentication implements Authentication {
From source file net.metadata.auselit.test.mocks.MockEmmetAuthentication.java
public class MockEmmetAuthentication implements Authentication { private static final long serialVersionUID = -1074412610118482222L; private final Collection<GrantedAuthority> authorities; private final String id; private final String name;
From source file com.seyren.core.security.SecurityDisabledAuthentication.java
public class SecurityDisabledAuthentication implements Authentication { @Override public Collection<? extends GrantedAuthority> getAuthorities() { Collection<GrantedAuthority> authorities = new HashSet<GrantedAuthority>(); authorities.add(new SimpleGrantedAuthority("USER")); return authorities;
From source file org.openinfinity.core.security.principal.Identity.java
/**
* Class for maintaining the state of the federated identity. Implements <code>org.springframework.security.core.Authentication</code> interface.
*
* @author Ilkka Leinonen
* @version 1.1.0
* @since 1.4.0
From source file org.mitre.oauth2.model.SavedUserAuthentication.java
/**
* This class stands in for an original Authentication object.
*
* @author jricher
*
*/