public class SimpleAuthentication extends Object implements org.springframework.security.core.Authentication
| Constructor and Description |
|---|
SimpleAuthentication(String username,
String password,
Collection<org.springframework.security.core.GrantedAuthority> authorities) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Collection<org.springframework.security.core.GrantedAuthority> |
getAuthorities() |
Object |
getCredentials() |
Object |
getDetails() |
String |
getName() |
Object |
getPrincipal() |
int |
hashCode() |
boolean |
isAuthenticated() |
void |
setAuthenticated(boolean isAuthenticated) |
String |
toString() |
public SimpleAuthentication(String username, String password, Collection<org.springframework.security.core.GrantedAuthority> authorities)
public Collection<org.springframework.security.core.GrantedAuthority> getAuthorities()
getAuthorities in interface org.springframework.security.core.Authenticationpublic Object getCredentials()
getCredentials in interface org.springframework.security.core.Authenticationpublic Object getDetails()
getDetails in interface org.springframework.security.core.Authenticationpublic Object getPrincipal()
getPrincipal in interface org.springframework.security.core.Authenticationpublic boolean isAuthenticated()
isAuthenticated in interface org.springframework.security.core.Authenticationpublic void setAuthenticated(boolean isAuthenticated)
throws IllegalArgumentException
setAuthenticated in interface org.springframework.security.core.AuthenticationIllegalArgumentExceptionpublic String toString()
public boolean equals(Object o)
Copyright © 2009-2013 SURFnet bv, The Netherlands. All Rights Reserved.