Clone Tools
  • last updated 17 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
ISIS-2158: fixes to allow deployment of Isis on Payara5

applied workaround: CDI feels responsible to resolve injection points

for any Servlet or Filter registered on the ServletContext

programmatically; we can resolve this by replacing annotations @Inject

with @Autowire for any Servlet or Filter that gets contributed by a

WebModule

  1. … 8 more files in changeset.
ISIS-2259: moves security modules up a level, renames isis-security-api to isis-core-security

  1. … 198 more files in changeset.
ISIS-2259: renames isis-webapp to isis-core-webapp

  1. … 11 more files in changeset.
ISIS-2259: renames isis-runtime-services to isis-core-runtimeservices

  1. … 9 more files in changeset.
ISIS-2259: moves runtime.services package to runtimeservices (to align packages with artifactId, avoid split packages).

  1. … 149 more files in changeset.
ISIS-2259: renames isis-runtime to isis-core-runtime

  1. … 21 more files in changeset.
ISIS-2158: fix WebModules getting discovered by CDI

WebModules are managed by Isis and should not be discovered by any

container.

  1. … 11 more files in changeset.
ISIS-2062: renames secman:ROOT to security:secman

  1. … 41 more files in changeset.
ISIS-2062: removes _attributes.adoc, workaround no longer required.

  1. … 524 more files in changeset.
ISIS-2259: removes _attributes.adoc workaround

no longer required with AsciiDoc 0.30.28 plugin for IntelliJ

  1. … 634 more files in changeset.
ISIS-2158: reordering injection points to the top of the class

and making these private when possible

also fixing lots of unused field compiler warnings

  1. … 111 more files in changeset.
ISIS-2158: re-run 'optimize imports' for 'core'

  1. … 88 more files in changeset.
ISIS-2158: organize imports in core using IntelliJ

  1. … 72 more files in changeset.
ISIS-2158: auto organize imports (/core)

  1. … 239 more files in changeset.
ISIS-2158: auto organize imports

  1. … 329 more files in changeset.
ISIS-2243: uses resteasy-spring-boot-starter to configure

also

- includes fix for ISIS-2240 (dependency injection into servlets and filters);

- incorporates ISIS-2238 (move IsisModuleRestfulObjects to the jaxrs-resteasy4 module)

specifically:

- adds dependency, upgrades to 4.4.1-Final

- introduces RestEasyConfiguration for the "resteasy.servlet.mapping.prefix" and related configs

- annotates the resources, providers etc. so managed as string beans

- removes RestfulObjectsApplication completely, is automatically created if missing

- nb:when existed, got duplicate definition in the Spring ApplicationContext, so this is a bit of a workaround

- introduces WebModuleAbstract for the injection str

also includes ISIS-2238.

  1. … 43 more files in changeset.
ISIS-2240: refactors WebModuleShiro to use injected serviceInjector rather than looking it up.

  1. … 1 more file in changeset.
ISIS-2240: uses WebModule to inject into all servlets, filters etc.

  1. … 7 more files in changeset.
ISIS-2237: simplifies WebModule implementations

*assume isApplicable is true unless otherwise specified

* don't use loadClass to check for class presence if is known to be there via 'compile' dependency

* use name field rather than override getName

* calculate path in constructor if possible, reduce duplication

  1. … 13 more files in changeset.
ISIS-2062: docs for extensions

  1. … 416 more files in changeset.
ISIS-2177: fix some trivial compiler warnings

  1. … 46 more files in changeset.
ISIS-2219: moves ldap-realm from security.shiro into new extensions.shirorealmldap

Also:

- moves secman/realm-shiro to secman/shiro-realm

- renames <artifactId>isis-extensions-secman-realm-shiro</artifactId> to <artifactId>isis-extensions-secman-shiro-realm</artifactId>

  1. … 63 more files in changeset.
ISIS-2218: AuthorizationManagerDefault renamed to AuthorizationManager, removes interface

In the process, moved from RuntimeServices to SecurityApi.

To do this required (re)moving te MetaModelRefiner implementation from AuthorizationManagerDefault, because that has a dependency on metamodel (and security-api does not depend on metamodel). However, since there is now only ever one implementation of AuthorizationManager, the adding of the AuthorizationFacetFactory is now simply part o fthe ProgrammingModelJava8.

Also:

- inlined MetaModelRefiner.getAll ... only used in one place.

- removes init() and shutdown() from Authorizor API, none of the implementations used them (and they can always just declare a @PostConstruct if nec).

- renames XxxAuthorizor to AuthorizerXxx and register as @Service's rather than @Beans

And:

- renames IsisModuleSecurityRealm to IsisModuleExtSecmanShiroRealm

  1. … 24 more files in changeset.
ISIS-2218: fixes compile errors in unit tess

  1. … 3 more files in changeset.
ISIS-2218: renames AuthenticationManagerDefault (class) to AuthenticationManager

Latter was previously an interface.

Also:

- KeycloakAuthenticator renamed as AuthenticatorKeycloak, declared as @Service rather than @Bean

- ditto for shiro

- constructor injection for AuthenticationManager

  1. … 20 more files in changeset.
ISIS-2216: adds @Qualifier to all services.

Also renames some services:

- AuditingServiceInternal (to AuditerDispatchService)

- PublishingServiceInternal (to PublisherDispatchService)

- AuthenticationManagerStandard (to AuthenticationManagerDefault)

- AuthorizationManagerStandard (to AuthorizationManagerDefault)

  1. … 146 more files in changeset.
ISIS-2216: adds @Ordered and @Primary

  1. … 101 more files in changeset.
ISIS-2216: removes unnecessary @Import for IsisModuleSecurity{Shiro/Keycloak}

  1. … 1 more file in changeset.
ISIS-2216: adds @Named(...) and converts @DomainService(nature=DOMAIN) to @Service

  1. … 112 more files in changeset.
ISIS-2215: simplifies SimpleSession constructors.

  1. … 5 more files in changeset.