Identity stores provide access to a persistence storage system, such as a relational or LDAP (Lightweight Directory Access Protocol) database, where user credentials are stored. The Java EE Security API supports relational and LDAP databases directly, and it allows us to integrate with custom identity stores, if necessary.