title: Wicket manage differents authentication sections
body: <p>I'm working on a platform which contains several applications (sections). Each application owns her database. To access to one application, the user has to log in. So I use authrole system but the problem is I've only one WicketApplication class which must implement getWebSessionClass and getSignInClass methods. I would like to be able to return the correct class depending on the concerned application.</p>
  
  <p>here is the code of the two methods : </p>
  
  <pre><code>@Override
  protected Class&lt;? extends AbstractAuthenticatedWebSession&gt; getWebSessionClass() {
  return BasicAuthenticationSession.class;
  }
  
  @Override
  protected Class&lt;? extends WebPage&gt; getSignInPageClass() {
  return SignInPage.class;
  }
  </code></pre>