Class ComponentHashLoginServiceFactory

java.lang.Object
com.zfabrik.servletjsp.security.ComponentHashLoginServiceFactory

public class ComponentHashLoginServiceFactory extends Object
A convenience factory for z2 component resource based user realm implementations.

Declare as

   <Call name="addBean">
     <Arg>
      <Call class="com.zfabrik.servletjsp.security.ComponentHashLoginServiceFactory" name="loginService">
        <Arg>realm</Arg>
        <Arg>environment/webUsers</Arg>
      </Call>
    </Arg>
  </Call>
 
The component resource folder is expected to hold a file realm.properties that holds Jetty-style defined users. See also http://wiki.eclipse.org/Jetty/Tutorial/Realms.
  • Field Details

  • Constructor Details

    • ComponentHashLoginServiceFactory

      public ComponentHashLoginServiceFactory()
  • Method Details