Interface GlassFishUserStore

All Known Implementing Classes:
CertificateRealm, FileRealm, LDAPRealm, Realm, SolarisRealm

public interface GlassFishUserStore
Implementations of this interface provide access to Get user data useful for authentication purposes.

A user store has a strong connection with the concept of an identity store. In GlassFish the identity store concept (validating caller credentials and returning user data) is split into multiple artifacts. The identity store itself is provided by the LoginModule, of which an implementation can use the GlassFishUserStore if needed (but will typically need to use functionality beyond this interface as well).

GlassFish provides an extra interface to optionally Add, Update or Remove user data (via the admin console of GlassFish) via the GlassFishUserManagement interface. This one is however rarely implemented, as most systems behind the user store (like LDAP and Database) have their own UI for this.

  • Method Summary

    Modifier and Type
    Method
    Description
    Returns names of all the groups in this particular realm.
    Returns the name of all the groups that this user belongs to
    default User
    Returns the information recorded about a particular named user.
    Returns names of all the users in this particular realm.
    default void
    Refreshes the realm data so that new users/groups are visible.