isis-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephen Cameron <>
Subject security module questions
Date Sun, 27 Sep 2015 05:40:29 GMT

I am making use of the Apache Isis security module addon. I've configured
it using the new App Manifest means, but have one issue, which is how is
the home page being created now?

I have the home page as it appears in the security demo, rather than the
one that I created in my app.  Its not clear to me why Isis is picking up
the alernative SecurityModuleApplication rather than my customised

To make it work with the AppManifest, I have the following:


import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import java.util.Map;

import org.apache.isis.applib.AppManifest;
import org.apache.isis.applib.fixturescripts.FixtureScript;


import domainapp.fixture.DomainAppFixtureModule;

 * Bootstrap the application.
public class DomainAppAppManifest implements AppManifest {

     * Load all services and entities found in (the packages and
subpackages within) these modules
    public List<Class<?>> getModules() {
        return Arrays.asList(
                DomainAppDomainModule.class,  // domain (entities and
                DomainAppFixtureModule.class, // fixtures
                DomainAppAppModule.class,      // home page service etc
                DomainAppSecurityDomModule.class,  //security
                DomainAppSecuritySeedModule.class, //seed the security
admin user

org.isisaddons.wicket.gmap3.cpt.service.Gmap3ServiceModule.class //Google
Gmap Geocoding Service

     * No additional services.
    public List<Class<?>> getAdditionalServices() {
        //return Collections.emptyList();
        return Arrays.asList(,

I've added these two 'marker' classes to my app so the security domain
service classes will be discovered:

Steve C.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message