Clone Tools
  • last updated 18 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

    • -61
    • +0
    ./isis/security/shiro/permrolemapper/Util.java
  1. … 202 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-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-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

  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-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. … 69 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. … 26 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. … 22 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-2215: simplifies SimpleSession constructors.

  1. … 5 more files in changeset.
ISIS-2215: removes @ComponentScan throughout core.

    • -500
    • +0
    ./isis/security/shiro/IsisLdapRealm.java
    • -51
    • +0
    ./isis/security/shiro/ShiroSecurityContext.java
    • -204
    • +0
    ./isis/security/shiro/WebModuleShiro.java
    • -0
    • +51
    ./isis/security/shiro/context/ShiroSecurityContext.java
    • -0
    • +61
    ./isis/security/shiro/realm/ldap/IsisLdapContextFactory.java
    • -0
    • +500
    ./isis/security/shiro/realm/ldap/IsisLdapRealm.java
    • -0
    • +204
    ./isis/security/shiro/webmodule/WebModuleShiro.java
  1. … 69 more files in changeset.
ISIS-2215: adds missing modules, move some classes around

and started to enumerate @Components for some (applib, metamodel) ... ie to remove @ComponentScan

    • -58
    • +0
    ./isis/security/shiro/IsisBootSecurityShiro.java
    • -0
    • +58
    ./isis/security/shiro/IsisModuleSecurityShiro.java
  1. … 432 more files in changeset.
ISIS-2213: moves o.a.isis.security to o.a.isis.security.api

    • -3
    • +3
    ./isis/security/shiro/IsisBootSecurityShiro.java
    • -2
    • +2
    ./isis/security/shiro/ShiroSecurityContext.java
  1. … 152 more files in changeset.
ISIS-2212: just moves some classes in runtime-web around, is all

* IsisWebAppContextXxx to webappctx subpackage

* IsisWebAppUtils to util. subpackage

    • -1
    • +1
    ./isis/security/shiro/WebModuleShiro.java
  1. … 17 more files in changeset.
ISIS-2212: uses class literals in WebModuleShiro where possible

    • -6
    • +3
    ./isis/security/shiro/WebModuleShiro.java
ISIS-1267: also adds roles for session from keycloak header

    • -1
    • +1
    ./isis/security/shiro/WebModuleShiro.java
  1. … 43 more files in changeset.
ISIS-2158: move AuthorizationManagerStandard -> 'runtime-services'

- also have AuthorizationManagerStandard refine the meta-model with

AuthorizationFacetFactory

- fixes tests

    • -1
    • +1
    ./isis/security/shiro/IsisBootSecurityShiro.java
  1. … 10 more files in changeset.
ISIS-2158: cleaning up Auth*Manager interfaces

delegates life-cycling to Spring

  1. … 11 more files in changeset.
ISIS-2158: refactoring Oid factories into 'metamodel'

- also for entity objects, makes object identifier fetching the

responsibility of the EntityFacet

    • -2
    • +44
    ./isis/security/shiro/WebModuleShiro.java
  1. … 28 more files in changeset.
ISIS-2158: major(!) ... remove static reference to MetaModelContext

    • -1
    • +0
    ./isis/security/shiro/WebModuleShiro.java
  1. … 486 more files in changeset.