The answer to my question was quite trivial. One of the module options is the realm to use:
<module-option name="realm" value="CaponeRealm" />
But now I am confronting with another problem. What should I place between CaponeRealm tags when defining the realm ?