public class CrowdUserDetailsWrapper extends Object implements ICrowdUserDetails
AppAuthority
AppAuthority
,
Serialized FormConstructor and Description |
---|
CrowdUserDetailsWrapper(com.atlassian.crowd.integration.springsecurity.user.CrowdUserDetails crowdUserDetails,
CrowdGrantedAuthoritiesMapper grantedAuthoritiesMapper)
Constructor for CrowdUserDetailsWrapper.
|
Modifier and Type | Method and Description |
---|---|
Collection<org.springframework.security.core.GrantedAuthority> |
getAuthorities() |
String |
getEmail()
Returns the user's email
|
String |
getFirstName()
Returns the user's first name
|
String |
getFullName()
Returns the user's fullname
|
String |
getLastName()
Returns the user's last name
|
String |
getPassword()
Returns the password used to authenticate the user.
|
String |
getUsername()
Returns the username used to authenticate the user.
|
boolean |
isAccountNonExpired()
Indicates whether the user's account has expired.
|
boolean |
isAccountNonLocked()
Indicates whether the user is locked or unlocked.
|
boolean |
isCredentialsNonExpired()
Indicates whether the user's credentials (password) has expired.
|
boolean |
isEnabled()
Indicates whether the user is enabled or disabled.
|
public CrowdUserDetailsWrapper(com.atlassian.crowd.integration.springsecurity.user.CrowdUserDetails crowdUserDetails, CrowdGrantedAuthoritiesMapper grantedAuthoritiesMapper)
Constructor for CrowdUserDetailsWrapper.
crowdUserDetails
- a CrowdUserDetails
object.grantedAuthoritiesMapper
- a CrowdGrantedAuthoritiesMapper
object.public Collection<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()
null
.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 String getFirstName()
getFirstName
in interface ICrowdUserDetails
String
object.public String getLastName()
getLastName
in interface ICrowdUserDetails
String
object.public String getFullName()
getFullName
in interface ICrowdUserDetails
String
object.public String getEmail()
getEmail
in interface ICrowdUserDetails
String
object.Copyright © 2011–2016 eXo Platform SAS. All rights reserved.