Skip to content

EvoUser

egaumer edited this page Feb 19, 2013 · 3 revisions

Back to Implementation Details

The EvoUser class holds detailed information about authenticated users. This information is stored under /sys/users and stores encrypted user passwords and other account related information.

When a user attempts to authenticate, the given password is checked against the users account information. If you configure Spring Security with another authentication provider such as LDAP, SiteMinder, or ActiveDirectory then those systems are responsible for providing user details.

Implements UserDetails

Object Structure

{
  "username": "user1",
  "password": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"  # SHA-2 encrypted
  "authorities": ["ROLE_ADMIN", "ROLE_USER"], 
  "uid": "82067120-00e0-4dca-a906-eb6b948c27b3",                                  # password salt
  "accountNonExpired": true,
  "accountNonLocked": true,
  "credentialsNonExpired": true,
  "enabled": true
}

Clone this wiki locally