I try do something like this
mvn clean -Dgwt.extraJvmArgs="-Djava.security.auth.login.config=jaas.conf" gwt:run
jaas.conf file :
my-domain {
services.security.j2ee.LoginModule required;.
};
in web.xml :
<login-config>
<auth-method>FORM</auth-method>
<realm-name>my-domain</realm-name>
</login-config>
<security-role>
<description>the user role</description>
<role-name>users</role-name>
</security-role>
<security-role>
<description>the admin role</description>
<role-name>admin</role-name>
</security-role>
But then start server in console i get: Unknown realm : my-domain
to Arthur as i understand in HostedMode we dont have any started directory for jetty
in one on my post where i ask about Jetty home i get next answer : "There is no jetty home, it is fully embedded in gwt-dev hosted mode"
--
Best regards,
Vitaly