Adding a realm definition
The following XML fragment adds a realm definition to the HTTP server.
<
Call
name
=
"addRealm"
>
<
Arg
>
<
New
class
=
"com.ebd.hub.server.http.HashUserRealm"
>
<
Arg
>Admin Realm</
Arg
>
<
Arg
>realmfile.properties</
Arg
>
</
New
>
</
Arg
>
</
Call
>
The parameters here are the name of the realm definition, as used in the user authentication, and the name of the realm file (relative or absolute path).