public class UsernamePasswordAuthenticationToken
extends org.springframework.security.authentication.AbstractAuthenticationToken
Constructor and Description |
---|
UsernamePasswordAuthenticationToken(Object principal,
Object credentials,
Collection<? extends org.springframework.security.core.GrantedAuthority> authorities) |
Modifier and Type | Method and Description |
---|---|
void |
eraseCredentials() |
Object |
getCredentials() |
Object |
getPrincipal() |
equals, getAuthorities, getDetails, getName, hashCode, isAuthenticated, setAuthenticated, setDetails, toString
public UsernamePasswordAuthenticationToken(Object principal, Object credentials, Collection<? extends org.springframework.security.core.GrantedAuthority> authorities)
public void eraseCredentials()
eraseCredentials
in interface org.springframework.security.core.CredentialsContainer
eraseCredentials
in class org.springframework.security.authentication.AbstractAuthenticationToken
public Object getCredentials()
public Object getPrincipal()
Copyright © 2008–2017 Province of British Columbia. All rights reserved.