[prev in list] [next in list] [prev in thread] [next in thread] 

List:       forgerock-openig
Subject:    [Openig] StaticRequestFilter limitation: request.entity not supported
From:       cgrosjean () janua ! fr (Cyril Grosjean)
Date:       2014-01-31 10:43:21
Message-ID: 52EB7E49.6030307 () janua ! fr
[Download RAW message or body]

We use OpenIG 2.1.

It seems like there's no way to submit a "request.entity" in a 
StaticRequestFilter.
We built a new StaticRequestFilter from the default one, to support an 
entity property such like this:


    {
                 "name": "MyLoginFilter",
                 "type": "com..........MyStaticRequestFilter",
                 "config": {
                         "method": "POST",
                         "uri": "http://host:port/v2.0/tokens/",
                         "entity": 
"{\"auth\":{\"passwordCredentials\":{\"username\":\"myuser\",\"password\":\"mypass\"}}}"
                 }
             },
}

Is this a known limitation ? Planed to be fixed in another filter (some 
kind of StaticRestRequest filter) ?
Any workaround available that would neither require any development nor to 
patch the default
StaticRequestFilter ?

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic