public class EmbeddedLoginAuthenticationToken extends FormLoginAuthenticationToken
Authentication
implementation that is designed for simple presentation of an OAuth2
clientId, username, and password. For use with embedded login. Use
FormLoginAuthenticationToken
for Universal Login.for Universal Login
,
Serialized FormConstructor and Description |
---|
EmbeddedLoginAuthenticationToken(String clientId,
Object principal,
Object credentials) |
EmbeddedLoginAuthenticationToken(String clientId,
Object principal,
Object credentials,
Collection<? extends org.springframework.security.core.GrantedAuthority> authorities) |
getClientId
eraseCredentials, getCredentials, getPrincipal, setAuthenticated
equals, getAuthorities, getDetails, getName, hashCode, isAuthenticated, setDetails, toString
public EmbeddedLoginAuthenticationToken(String clientId, Object principal, Object credentials)
public EmbeddedLoginAuthenticationToken(String clientId, Object principal, Object credentials, Collection<? extends org.springframework.security.core.GrantedAuthority> authorities)
Copyright © 2021. All rights reserved.