nick.james in openam

OPENAM-7304, OPENAM-6305: fixes for installer upgrade.

OPENAM-6936: Agent 4.0 2Gb cache size limit + change to log messages for shm allocation failure.

    • -3
    • +2
    /trunk/policy-agents/source/net_client.c
    • -32
    • +42
    /trunk/policy-agents/source/cache.c
    • -32
    • +59
    /trunk/policy-agents/source/shared.c
    • -71
    • +61
    /trunk/policy-agents/tests/test_policy_cache.c
OPENAM-6987: Use of synchronous comms in net_ops.

    • -429
    • +386
    /trunk/policy-agents/source/net_client.c
    • -10
    • +6
    /trunk/policy-agents/source/net_client.h
    • -40
    • +34
    /trunk/policy-agents/source/net_ops.c
OPENAM-7072 - correction of fix to remove PLL request for session notification when notifications are not enabled.

OPENAM-7072: Only send PLL SessionRequest/AddSessionListener if com.sun.identity.agents.config.notification.enable is set

    • -2
    • +4
    /trunk/policy-agents/source/net_client.c
    • -16
    • +25
    /trunk/policy-agents/source/net_ops.c
    • -1
    • +1
    /trunk/policy-agents/source/net_client.h
OPENAM-6987: addition of free lists to shared memory cache - does not resolve 6987.

    • -18
    • +173
    /trunk/policy-agents/source/shared.c
    • -4
    • +7
    /trunk/policy-agents/tests/test_policy_cache.c
OPENAM-6939 - Agent 4 handling of large stateless session tokens.

    • -38
    • +85
    /trunk/policy-agents/source/cache.c
    • -24
    • +56
    /trunk/policy-agents/tests/test_policy_cache.c
OPENAM-6860 fix to make agent clear up persistent shared memory and semaphore resources after crash.

    • -0
    • +113
    /trunk/policy-agents/source/init.c
    • -0
    • +60
    /trunk/policy-agents/tests/test_init.c
OPENAM-6820, OPENAM-6836: non-windows line endings on new install properties files; correction of installer crash on windows/apache.

    • -15
    • +15
    /trunk/policy-agents/config/agent.conf.template
OPENAM-6810: Correction to property file reader in intaller and strncmp for solaris/win.

    • -1
    • +2
    /trunk/policy-agents/tests/test_utility.c
AME-8306 Preserve property file formats and comments in agent 4 installed configuration

    • -7
    • +12
    /trunk/policy-agents/tests/test_utility.c
    • -38
    • +82
    /trunk/policy-agents/source/admin.c
    • -88
    • +161
    /trunk/policy-agents/source/property_map.c
    • -74
    • +123
    /trunk/policy-agents/config/agent.conf.template
OPENAM-6728: Failure of copy_file function. This will now work with empty files.

    • -0
    • +23
    /trunk/policy-agents/tests/test_utility.c
OPENAM-6674: address differences between Agent3/Agent4 URL encoding.

    • -0
    • +28
    /trunk/policy-agents/tests/test_utility.c
OPENAM-6728: Fix to file copy for linux, to make it compatible with pre-6.2.33 kernel and remove use of sendfile.

    • -2
    • +24
    /trunk/policy-agents/source/utility.c
    • -0
    • +25
    /trunk/policy-agents/tests/test_utility.c
OPENAM-6633: Not enforced URL patterns (and logout URLs, extended not-enforced URLs and JSON result URLs) need to have the default port inserted by agent 4.

    • -0
    • +83
    /trunk/policy-agents/source/utility.c
    • -0
    • +64
    /trunk/policy-agents/tests/test_policy.c
    • -0
    • +2
    /trunk/policy-agents/source/config_xml.c
    • -3
    • +43
    /trunk/policy-agents/source/policy.c
    • -0
    • +80
    /trunk/policy-agents/tests/test_config.c
    • -0
    • +2
    /trunk/policy-agents/source/config_file.c
OPENAM-6636. Enable upgrades from agent3 configuration in agent4 installer.

    • -0
    • +154
    /trunk/policy-agents/tests/test_utility.c
    • -0
    • +36
    /trunk/policy-agents/source/utility.c
    • -0
    • +233
    /trunk/policy-agents/source/property_map.c
    • -109
    • +337
    /trunk/policy-agents/source/admin.c
    • -0
    • +13
    /trunk/policy-agents/source/utility.h
    • -23
    • +4
    /trunk/policy-agents/source/cache.c
OPENAM-6604: FIx web agents 4 unit tests.

    • -1
    • +2
    /trunk/policy-agents/tests/test_notifications.c
    • -4
    • +4
    /trunk/policy-agents/tests/test_policy_cache.c
OPENAM-6548: Installer for agents is unstable because of string_replace function used in generating configuration.

    • -0
    • +62
    /trunk/policy-agents/tests/test_utility.c
    • -34
    • +37
    /trunk/policy-agents/source/utility.c
OPENAM-6464, when the incomming request host field is not in the FQDN map and FQDN checking is enabled, and it is not the default FQDN, the agent will now redirect with the default FQDN rather than returning an error.

CR-7707 Fixes to IP (v4 and v6) problems: ipv4 wasn't working on windows, and ipv6 was not working on linux. The code for windows and linux has now ben largely compined and there are new test cases. Also AME-7716, fixes for cache stability on resize.

    • -136
    • +158
    /trunk/policy-agents/source/config.c
    • -73
    • +141
    /trunk/policy-agents/source/ip.c
    • -12
    • +10
    /trunk/policy-agents/source/shared.c
    • -155
    • +232
    /trunk/policy-agents/source/cache.c
AME-7529. Ensure that obsolete session, policy and PDP cache entries are removed.

    • -4
    • +88
    /trunk/policy-agents/tests/test_policy_cache.c
    • -17
    • +67
    /trunk/policy-agents/source/cache.c
    • -1
    • +25
    /trunk/policy-agents/source/shared.c
PENAM-6081. Correction for pre-c99 compiler issue.

OPENAM-6081. Correction of C99 "for(int i" line. This did not compile.

OPENAM-6081. This will allow patterns that do not have a URL structure to be used in agent configuration, e.g. in the not enforced URL lists. This has been corrected by matching the pattern and the incoming URL as a whole when the pattern does not have URL structure.

    • -71
    • +93
    /trunk/policy-agents/source/policy.c
Fixes for saving policies to cache and ip address matching
    • -0
    • +14
    /trunk/policy-agents/source/process.c
    • -33
    • +33
    /trunk/policy-agents/source/naming_valid.c
    • -50
    • +50
    /trunk/policy-agents/source/ip.c
AME-5642 establish unit test for ResourceType REST endpoint