public class NotFoundUserDetails extends Object implements org.springframework.security.core.userdetails.UserDetails
Constructor and Description |
---|
NotFoundUserDetails(String username,
org.springframework.security.core.userdetails.UsernameNotFoundException originalException) |
Modifier and Type | Method and Description |
---|---|
Collection<? extends org.springframework.security.core.GrantedAuthority> |
getAuthorities() |
org.springframework.security.core.userdetails.UsernameNotFoundException |
getOriginalException() |
String |
getPassword() |
String |
getUsername() |
boolean |
isAccountNonExpired() |
boolean |
isAccountNonLocked() |
boolean |
isCredentialsNonExpired() |
boolean |
isEnabled() |
public NotFoundUserDetails(String username, org.springframework.security.core.userdetails.UsernameNotFoundException originalException)
public Collection<? extends org.springframework.security.core.GrantedAuthority> getAuthorities()
getAuthorities
in interface org.springframework.security.core.userdetails.UserDetails
public String getPassword()
getPassword
in interface org.springframework.security.core.userdetails.UserDetails
public String getUsername()
getUsername
in interface org.springframework.security.core.userdetails.UserDetails
public boolean isAccountNonExpired()
isAccountNonExpired
in interface org.springframework.security.core.userdetails.UserDetails
public boolean isAccountNonLocked()
isAccountNonLocked
in interface org.springframework.security.core.userdetails.UserDetails
public boolean isCredentialsNonExpired()
isCredentialsNonExpired
in interface org.springframework.security.core.userdetails.UserDetails
public boolean isEnabled()
isEnabled
in interface org.springframework.security.core.userdetails.UserDetails
public org.springframework.security.core.userdetails.UsernameNotFoundException getOriginalException()
Copyright © 2017 Hitachi Vantara. All rights reserved.