Checkout Tools
  • last updated 4 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
FELIX-5537 - ConfigSpiOsgi should not try to unregister provider if not registered
FELIX-5536 - ConfigSpiOSGi may end with incomplete realm due to race conditions

Ensure that recreateConfigs is called within lock

  1. … 1 more file in changeset.
FELIX-5536 - ConfigSpiOSGi may end with incomplete realm due to race conditions

Adding ignored test which sometimes fail in multiple runs

  1. … 1 more file in changeset.
FELIX-5505 - ConfigSpiOSGi may miss out on registering some LoginModuleFactory due to race condition
  1. … 1 more file in changeset.
FELIX-5502 - Startup logs from ConfigSpiOsgi may get dropped due to race condition

Ensure that Logger tracker is opened before it is passed to other classes

FELIX-5083 - Set webconsole.configurationFactory.nameHint for JAAS configurations

Applying patch from Robert Munteanu. Thanks!

FELIX-4827 - Improve logging on LoginModule registration

Add space after Bundle

FELIX-4414 - Empty string value in jaas.realm should also trigger default

Checking for empty string in service reference properties also. Also added a testcase for Util class

  1. … 2 more files in changeset.
FELIX-4389 Apply patch by Tobias Bocanegra fixing field hiding issue (thanks for the patch!)
FELIX-4389 Add support for jaas.ranking to order LoginModuleFactory services.

(Thanks Tobias Bocanegra for providing the patch)

- For backwards compatibility support for service.ranking is retained

if the jaas.ranking property is missing

- Also consolidated the service property and configuration constants

FELIX-4390 Make sure OsgiLoginModuleProvider instances are updated

when configuration is updated

(Thanks Tobias Bocanegra for providing the patch)

FELIX-4387 Get configuration early in the constructor before registering

services to make sure to get proper updates.

(Thanks Tobias Bocanegra for providing the patch)

FELIX-4318 - prepare for initial release of JAAS Bundle

Adding ProviderType to LoginContextFactory and ConsumerType to LoginModuleFactory

FELIX-3998 Updating JAAS config leads to registration of duplicate LoginModules

Tracker should be opened last

FELIX-3998 Updating JAAS config leads to registration of duplicate LoginModules

If config gets updated the previous service is unregistered

FELIX-3985 - ConfigSpiOsgi should be registered by default

The ConfigSpi now registers upon activation with default config

  1. … 3 more files in changeset.
FELIX-3984 - Use default application/realm name of 'other' if none specified

Adding support for defaulting to realmName of 'other' (unless overridden by config) if the LoginModule does not specify one

  1. … 1 more file in changeset.
FELIX-3983 - Use inlined Sling commons PropertiesUtil for reading config values

Replaced copied code with direct usage of PropertiesUtil and ManifestParser. Also inlined the classes

  1. … 1 more file in changeset.
FELIX-3935 - Testcases for JAAS integration

Adding testcases for following authentication scenarios

-- With TCCL switch

-- With Felix JAAS related classes on bootclasspath

-- With LoginContextFactory

Removing JaasConstants class from API for now as these constants are only required by testcases

  1. … 6 more files in changeset.
Minor reformatting of code
Removing the requirement to provide the default realm name explicitly. By default in absence of any explicitly defined realm name it would be assumed to be 'default'
FELIX-3956 - JAAS Support bundle should have optional dependency on Servlet API

Fixing an issue related to objectClass name

FELIX-3956 - JAAS Support bundle should have optional dependency on Servlet API

Using ServiceFactory to register the WebConsolePlugin to avoid direct dependency on Servlet API. Also using DynamicImport-Package (without using wildcards) for the servlet api.

  1. … 1 more file in changeset.
FELIX-3935 - Testcases for JAAS integration

Done the basic setup required for using Pax Exam. The pattern used is similar to used in SCR module. As next step we just need to implement different scenarios supported by this module.

Also adding a constant class to collect constant required for using jAAS support

    • ?
    ./org/apache/felix/jaas/JaasConstants.java
  1. … 15 more files in changeset.
FELIX-3956 - JAAS Support bundle should have optional dependency on Servlet API

Marking the javax.servlet package as optional. And handling exception while creating plugin instance in absence of servlet api

  1. … 1 more file in changeset.
Minor code formatting and adding some javadocs
FELIX-3705 import new JAAS OSGi support (contributed by Chetan Mehrotra, thank you very much)
    • ?
    ./org/apache/felix/jaas/internal/LoginModuleCreator.java
    • ?
    ./org/apache/felix/jaas/internal/JaasWebConsolePlugin.java
    • ?
    ./org/apache/felix/jaas/internal/Logger.java
    • ?
    ./org/apache/felix/jaas/internal/Util.java
    • ?
    ./org/apache/felix/jaas/LoginModuleFactory.java
    • ?
    ./org/apache/felix/jaas/internal/ConfigSpiOsgi.java
    • ?
    ./org/apache/felix/jaas/boot/package-info.java
    • ?
    ./org/apache/felix/jaas/internal/LoginModuleProvider.java
    • ?
    ./org/apache/felix/jaas/boot/ProxyLoginModule.java
  1. … 20 more files in changeset.