17 Jun, 2015
1 commit
-
git-svn-id: https://svn.forgerock.org/openig/trunk@1042 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
16 Jun, 2015
1 commit
-
The NPE was caused because since r1010, there is no more any reference to the `HttpServletRequest` and `HttpServletResponse` objects provided by the web container (was done to prevent context serialization issues). This new version of the fix now ensure that we place the servlet objects at the right place (directly in the `Exchange`, where the message capture code is intentionally excluding them from the capture) so that the `SamlFederationHandler` can still get theses references. We're also removing the content of the `httpContext.getAttributes()` Map so that the message capture mechanism (when capturing the contexts) will not try to serialize theses objects (because we know that it's failing right now). git-svn-id: https://svn.forgerock.org/openig/trunk@1041 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
15 Jun, 2015
4 commits
-
git-svn-id: https://svn.forgerock.org/openig/trunk@1040 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
git-svn-id: https://svn.forgerock.org/openig/trunk@1039 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
git-svn-id: https://svn.forgerock.org/openig/trunk@1038 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
git-svn-id: https://svn.forgerock.org/openig/trunk@1037 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
12 Jun, 2015
1 commit
-
…or scripting purposes git-svn-id: https://svn.forgerock.org/openig/trunk@1036 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
11 Jun, 2015
4 commits
-
* Diamond operator * Try with resources * Multi-catch git-svn-id: https://svn.forgerock.org/openig/trunk@1035 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
git-svn-id: https://svn.forgerock.org/openig/trunk@1034 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
Provide through the global heap an instance of the TimeService, thus that can be shared between all the heap objects. git-svn-id: https://svn.forgerock.org/openig/trunk@1033 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
git-svn-id: https://svn.forgerock.org/openig/trunk@1032 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
02 Jun, 2015
1 commit
-
`Handler` and `Filter` are now returning `Promises` (thus are non blocking from an API point of view). The CHF `Client` SPI also supports non-blocking calls. But all elements of the processing chain need to support this in order to really gain something out of the `Promises`. The `HttpClient` was not offering such support, so the OpenIG `ClientHandler` could not take advantage of it. git-svn-id: https://svn.forgerock.org/openig/trunk@1031 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
01 Jun, 2015
1 commit
-
git-svn-id: https://svn.forgerock.org/openig/trunk@1028 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
26 May, 2015
6 commits
-
is unchecked exception. git-svn-id: https://svn.forgerock.org/openig/trunk@1027 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
git-svn-id: https://svn.forgerock.org/openig/trunk@1026 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
git-svn-id: https://svn.forgerock.org/openig/trunk@1025 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
git-svn-id: https://svn.forgerock.org/openig/trunk@1024 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
'shouldFailWithNullExpression' as per Guillaume's suggestion. git-svn-id: https://svn.forgerock.org/openig/trunk@1023 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
Refactoring 'baseuri_decorator_error_cases'. git-svn-id: https://svn.forgerock.org/openig/trunk@1022 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
22 May, 2015
2 commits
-
git-svn-id: https://svn.forgerock.org/openig/trunk@1021 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
git-svn-id: https://svn.forgerock.org/openig/trunk@1020 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
19 May, 2015
1 commit
-
git-svn-id: https://svn.forgerock.org/openig/trunk@1011 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
18 May, 2015
1 commit
-
Seems the `HttpContext` attributes Map is only needed by AM. So it's quite harmless to clear its content (that contains self-referencing objects) before usage. Over-the-shoulder reviewed by Matt git-svn-id: https://svn.forgerock.org/openig/trunk@1010 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
13 May, 2015
4 commits
-
git-svn-id: https://svn.forgerock.org/openig/trunk@1009 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
This change is a follow-up on CHF-34 change (`Promise<Response, NeverThrowsException>`). There is no more any exception to use in the `ExceptionFilter`. In other words, `ExceptionFilter` is useless in this new context. User of `ExceptionFilter` are encouraged to use a `SwitchFilter` instead (leveraging the response status in the condition expression): ``` { "name": string, "type": "SwitchFilter", "config": { "onResponse": [ { "condition": "exchange.response.status.code == 500", "handler": Handler reference, }, ... ] } } ``` Documentation has been cleaned out too. git-svn-id: https://svn.forgerock.org/openig/trunk@1008 dbb9e58e-28e6-4ce0-90e8-f11d9605b710 -
git-svn-id: https://svn.forgerock.org/openig/trunk@1007 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
git-svn-id: https://svn.forgerock.org/openig/trunk@1006 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
11 May, 2015
1 commit
-
This patch fixes problems found during editorial review of the preface and first chapter of the Guide to OpenIG. git-svn-id: https://svn.forgerock.org/openig/trunk@1005 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
07 May, 2015
1 commit
-
git-svn-id: https://svn.forgerock.org/openig/trunk@1004 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
05 May, 2015
4 commits
-
Upgrade : - testng to 6.8.21 - mockito to 1.10.19 - slf4j to 1.7.12 git-svn-id: https://svn.forgerock.org/openig/trunk@1003 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
git-svn-id: https://svn.forgerock.org/openig/trunk@1002 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
git-svn-id: https://svn.forgerock.org/openig/trunk@1001 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
git-svn-id: https://svn.forgerock.org/openig/trunk@1000 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
04 May, 2015
1 commit
-
git-svn-id: https://svn.forgerock.org/openig/trunk@999 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
03 May, 2015
1 commit
-
…ion which are now in forgerock-util 2.0.0 git-svn-id: https://svn.forgerock.org/openig/trunk@998 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
01 May, 2015
2 commits
-
git-svn-id: https://svn.forgerock.org/openig/trunk@997 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
As a best practice and as response.getStatus() may return null, it is better to swap the operand when testing equality. git-svn-id: https://svn.forgerock.org/openig/trunk@996 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
30 Apr, 2015
3 commits
-
There is no reason anymore to separate the code and the reason in StaticResponseHandler, so we now use an attribute of type Status. git-svn-id: https://svn.forgerock.org/openig/trunk@995 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
Since we introduce the class Status in forgerock-http-framework, some code's modifications have to be done : - To get the code of the status we now have to do response.getStatus().getCode() into of response.getStatus(). (in the Groovy script or EL expression that means we'll have to write response.status.code. - Furthermore, the attribute reason in Response does not exist any more, so it is not possible anymore to assign a custom reason phrase, as it is set to standardized reason phrase through the constants defined in the class Status. - Any status code has to be in the range [100,1000[ git-svn-id: https://svn.forgerock.org/openig/trunk@994 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
git-svn-id: https://svn.forgerock.org/openig/trunk@993 dbb9e58e-28e6-4ce0-90e8-f11d9605b710