ISIS-1686: adds shiro as authMechanism for the two archetypes
Project: http://git-wip-us.apache.org/repos/asf/isis/repo Commit: http://git-wip-us.apache.org/repos/asf/isis/commit/02489d01 Tree: http://git-wip-us.apache.org/repos/asf/isis/tree/02489d01 Diff: http://git-wip-us.apache.org/repos/asf/isis/diff/02489d01 Branch: refs/heads/master Commit: 02489d011c460a5eb1943ebafbdf6b9df9dfa586 Parents: 4202aa0 Author: Dan Haywood <d...@haywood-associates.co.uk> Authored: Sun Aug 6 07:06:24 2017 +0100 Committer: Dan Haywood <d...@haywood-associates.co.uk> Committed: Sun Aug 6 07:06:24 2017 +0100 ---------------------------------------------------------------------- .../main/java/domainapp/application/HelloWorldAppManifest.java | 3 ++- .../domainapp/application/manifest/DomainAppAppManifest.java | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/isis/blob/02489d01/example/application/helloworld/src/main/java/domainapp/application/HelloWorldAppManifest.java ---------------------------------------------------------------------- diff --git a/example/application/helloworld/src/main/java/domainapp/application/HelloWorldAppManifest.java b/example/application/helloworld/src/main/java/domainapp/application/HelloWorldAppManifest.java index e14a1b4..98d4f62 100644 --- a/example/application/helloworld/src/main/java/domainapp/application/HelloWorldAppManifest.java +++ b/example/application/helloworld/src/main/java/domainapp/application/HelloWorldAppManifest.java @@ -29,7 +29,8 @@ public class HelloWorldAppManifest extends AppManifestAbstract { public static final Builder BUILDER = Builder .forModules(HelloWorldModule.class) - .withConfigurationPropertiesFile(HelloWorldAppManifest.class, "isis.properties"); + .withConfigurationPropertiesFile(HelloWorldAppManifest.class, "isis.properties") + .withAuthMechanism("shiro"); public HelloWorldAppManifest() { super(BUILDER); http://git-wip-us.apache.org/repos/asf/isis/blob/02489d01/example/application/simpleapp/application/src/main/java/domainapp/application/manifest/DomainAppAppManifest.java ---------------------------------------------------------------------- diff --git a/example/application/simpleapp/application/src/main/java/domainapp/application/manifest/DomainAppAppManifest.java b/example/application/simpleapp/application/src/main/java/domainapp/application/manifest/DomainAppAppManifest.java index f10dfdd..c52599a 100644 --- a/example/application/simpleapp/application/src/main/java/domainapp/application/manifest/DomainAppAppManifest.java +++ b/example/application/simpleapp/application/src/main/java/domainapp/application/manifest/DomainAppAppManifest.java @@ -38,8 +38,9 @@ public class DomainAppAppManifest extends AppManifestAbstract { "isis.properties", "authentication_shiro.properties", "persistor_datanucleus.properties", - "viewer_restfulobjects.properties", "viewer_wicket.properties" - ); + "viewer_restfulobjects.properties", + "viewer_wicket.properties" + ).withAuthMechanism("shiro"); public DomainAppAppManifest() { super(BUILDER);