Module org.elasticsearch.xcore
Interface Realm.Factory
- Enclosing class:
Realm
public static interface Realm.Factory
A factory interface to construct a security realm.
-
Method Summary
Modifier and TypeMethodDescriptioncreate(RealmConfig config) Constructs a realm which will be used for authentication.
-
Method Details
-
create
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
-