public class DSpaceAuthentication extends Object implements org.springframework.security.core.Authentication
| Constructor and Description |
|---|
DSpaceAuthentication(EPerson ePerson,
List<org.springframework.security.core.GrantedAuthority> authorities) |
DSpaceAuthentication(String username,
List<org.springframework.security.core.GrantedAuthority> authorities) |
DSpaceAuthentication(String username,
String password,
List<org.springframework.security.core.GrantedAuthority> authorities) |
| Modifier and Type | Method and Description |
|---|---|
Collection<? extends org.springframework.security.core.GrantedAuthority> |
getAuthorities() |
Object |
getCredentials() |
Object |
getDetails() |
String |
getName() |
Date |
getPreviousLoginDate() |
Object |
getPrincipal() |
boolean |
isAuthenticated() |
void |
setAuthenticated(boolean authenticated) |
public DSpaceAuthentication(EPerson ePerson, List<org.springframework.security.core.GrantedAuthority> authorities)
public DSpaceAuthentication(String username, String password, List<org.springframework.security.core.GrantedAuthority> authorities)
public Collection<? extends 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 authenticated)
throws IllegalArgumentException
setAuthenticated in interface org.springframework.security.core.AuthenticationIllegalArgumentExceptionpublic Date getPreviousLoginDate()
Copyright © 2019 DuraSpace. All rights reserved.