org.zeroexchange.security
Class ZEUserDetails
java.lang.Object
org.zeroexchange.security.ZEUserDetails
- All Implemented Interfaces:
- Serializable, org.springframework.security.core.userdetails.UserDetails
public class ZEUserDetails
- extends Object
- implements org.springframework.security.core.userdetails.UserDetails
- Author:
- black
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ZEUserDetails
public ZEUserDetails(Collection<org.springframework.security.core.GrantedAuthority> authorities,
User user,
Credential loggedCredential)
isEnabled
public boolean isEnabled()
- Specified by:
isEnabled
in interface org.springframework.security.core.userdetails.UserDetails
isCredentialsNonExpired
public boolean isCredentialsNonExpired()
- Specified by:
isCredentialsNonExpired
in interface org.springframework.security.core.userdetails.UserDetails
getUser
public User getUser()
isAccountNonLocked
public boolean isAccountNonLocked()
- Specified by:
isAccountNonLocked
in interface org.springframework.security.core.userdetails.UserDetails
isAccountNonExpired
public boolean isAccountNonExpired()
- Specified by:
isAccountNonExpired
in interface org.springframework.security.core.userdetails.UserDetails
getUsername
public String getUsername()
- Specified by:
getUsername
in interface org.springframework.security.core.userdetails.UserDetails
getPassword
public String getPassword()
- Specified by:
getPassword
in interface org.springframework.security.core.userdetails.UserDetails
getAuthorities
public Collection<org.springframework.security.core.GrantedAuthority> getAuthorities()
- Specified by:
getAuthorities
in interface org.springframework.security.core.userdetails.UserDetails
Copyright © 2013. All Rights Reserved.