Package com.codename1.backend.security.core.userdetails
package com.codename1.backend.security.core.userdetails
Users as the security layer sees them:
UserDetails, the
UserDetailsService a chain authenticates against, and an in-memory store.-
ClassDescriptionUsers kept in memory: for a demonstration, a test, or a server whose handful of accounts is part of its configuration.The
UserDetailsthe runtime provides.Builds aUser.A user as the security layer needs to know one: a name, an encoded password, what it has been granted, and whether the account may be used.AUserDetailsServicethat can also create, change and delete its users.Stores a password re-encoded on sign-in, for a user store that wants old hashes replaced as their owners come back.Finds a user by the name typed at sign-in.AUserDetailsServicehas no user of the name it was asked for.