Package com.sun.enterprise.security.auth.realm

This package contains the Realms used by Payara for its native identity stores.

Realms in Payara have to be paired with LoginModules, which are in the com.sun.enterprise.security.auth.login package.

A Realm contains the actual credential validation functionality of an identity store, but can additionally contain user management (create, update delete) functionality as well.