Interface Realm.Factory

Enclosing class:
Realm

public static interface Realm.Factory
A factory interface to construct a security realm.
  • Method Summary

    Modifier and Type
    Method
    Description
    Constructs a realm which will be used for authentication.
  • Method Details

    • create

      Realm create(RealmConfig config) throws Exception
      Constructs a realm which will be used for authentication.
      Parameters:
      config - The configuration for the realm
      Throws:
      Exception - an exception may be thrown if there was an error during realm creation