Clone Tools
  • last updated 28 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
ISIS-2259: moves security modules up a level, renames isis-security-api to isis-core-security

  1. … 208 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: auto organize imports

  1. … 331 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: 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-2236: adds Cors WebModule.

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

  1. … 43 more files in changeset.
ISIS-2177: remove ApplicationScopedComponent

  1. … 6 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.

  1. … 79 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

  1. … 432 more files in changeset.
ISIS-2213: reorgs classes in keycloak module

    • -0
    • +68
    ./org/apache/isis/security/keycloak/webmodule/KeycloakFilter.java
ISIS-2213: moves o.a.isis.security to o.a.isis.security.api

  1. … 151 more files in changeset.
ISIS-1297: KeycloakAuthenticator now correctly uses the AuthenticationSessionWormhole threadlocal

... and the thread-local in WebModuleKeycloak is now properly defunct and can be removed.

ISIS-2205: ensures all classes in runtime-web are in the org.apache.isis.webapp package.

  1. … 4 more files in changeset.
ISIS-1267: also adds roles for session from keycloak header

  1. … 39 more files in changeset.
ISIS-1267: adds keycloak module and extends AuthenticationSession

in order to pass in through a wormhole to wicket.

    • -0
    • +53
    ./org/apache/isis/security/keycloak/KeycloakFilter.java
    • -0
    • +92
    ./org/apache/isis/security/keycloak/WebModuleKeycloak.java
  1. … 60 more files in changeset.
ISIS-1267: adds keycloak module and extends AuthenticationSession

in order to pass in through a wormhole to wicket.

    • -0
    • +53
    ./org/apache/isis/security/keycloak/KeycloakFilter.java
    • -0
    • +92
    ./org/apache/isis/security/keycloak/WebModuleKeycloak.java
  1. … 60 more files in changeset.