public class OnmsUser extends Object implements org.springframework.security.core.userdetails.UserDetails
Modifier and Type | Method and Description |
---|---|
void |
addAuthority(org.springframework.security.core.GrantedAuthority authority) |
boolean |
equals(Object obj) |
Collection<? extends org.springframework.security.core.GrantedAuthority> |
getAuthorities() |
String |
getComments() |
List<String> |
getDutySchedule() |
String |
getEmail() |
String |
getFullName() |
String |
getPassword() |
boolean |
getPasswordSalted() |
String |
getUsername() |
int |
hashCode() |
boolean |
isAccountNonExpired() |
boolean |
isAccountNonLocked() |
boolean |
isCredentialsNonExpired() |
boolean |
isEnabled() |
void |
setAuthorities(Collection<? extends org.springframework.security.core.GrantedAuthority> authorities) |
void |
setComments(String comments) |
void |
setDutySchedule(List<String> dutySchedule) |
void |
setEmail(String email) |
void |
setFullName(String fullName) |
void |
setPassword(String password) |
void |
setPasswordSalted(Boolean passwordSalted) |
void |
setUsername(String username) |
String |
toString() |
public OnmsUser()
public OnmsUser(String username)
public String getComments()
public void setComments(String comments)
public String getPassword()
getPassword
in interface org.springframework.security.core.userdetails.UserDetails
public void setPassword(String password)
public boolean getPasswordSalted()
public void setPasswordSalted(Boolean passwordSalted)
public String getFullName()
public void setFullName(String fullName)
public String getUsername()
getUsername
in interface org.springframework.security.core.userdetails.UserDetails
public void setUsername(String username)
public Collection<? extends org.springframework.security.core.GrantedAuthority> getAuthorities()
getAuthorities
in interface org.springframework.security.core.userdetails.UserDetails
public void setAuthorities(Collection<? extends org.springframework.security.core.GrantedAuthority> authorities)
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 void addAuthority(org.springframework.security.core.GrantedAuthority authority)
public String getEmail()
public void setEmail(String email)
Copyright © 2017. All rights reserved.