I sent a similar message to this earlier but it doesn't seem to have
shown up;

Anyway, I am trying to configure JAAS authentication in jetty as
follows in web-jetty.xml, but I keep getting a classnotfound exception
for org.mortbay.jetty.plus.jaas.JAASUserRealm.  Even trying to import
this class in eclipse doesn't work.  Does the version of jetty bundled
with GWT lack this class?  I am using version 2.0

Thank you;


web-jetty.xml:

<Configure class="org.mortbay.jetty.webapp.WebAppContext">
<Set name="serverClasses">
    <Array type="java.lang.String">
      <Item>-org.mortbay.jetty.plus.jaas.</Item>
      <Item>org.mortbay.jetty</Item>
      <Item>org.slf4j.</Item>
    </Array>
  </Set>

<Get name="securityHandler">
    <Set name="userRealm">
        <New class="org.mortbay.jetty.plus.jaas.JAASUserRealm">
            <Set name="name">xyzrealm</Set>
            <Set name="LoginModuleName">xyz</Set>
            <Set name="config"><SystemProperty name="jetty.home"
default="."/>/WEB-INF/classes/jdbcRealm.properties</Set>
        </New>
    </Set>
    <Set name="authenticator">
        <New class="org.mortbay.jetty.security.FormAuthenticator">
            <Set name="loginPage">/login.jsp</Set>
            <Set name="errorPage">/error.jsp</Set>
        </New>
    </Set>
</Get>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to