public class UsernamePasswordAuthentication extends AbstractAuthentication
| Constructor and Description |
|---|
UsernamePasswordAuthentication(Object principal,
Object credentials) |
UsernamePasswordAuthentication(Object principal,
Object credentials,
Collection<?> authorities) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getCredentials() |
Object |
getPrincipal() |
void |
setAuthenticated(boolean isAuthenticated) |
equals, getAuthorities, getDetails, getName, hashCode, isAuthenticated, setDetailspublic UsernamePasswordAuthentication(Object principal, Object credentials)
public UsernamePasswordAuthentication(Object principal, Object credentials, Collection<?> authorities)
public Object getCredentials()
public Object getPrincipal()
public void setAuthenticated(boolean isAuthenticated)
throws IllegalArgumentException
setAuthenticated in interface AuthenticationsetAuthenticated in class AbstractAuthenticationIllegalArgumentExceptionCopyright © 2005–2018 The Beangle Software. All rights reserved.