23 Oct, 2014
1 commit
-
Notice that we kept them for GatewayServlet since this is not itself a Filter/Handler (so not decoratable) and that we may be interested in time spend in its service() method (Exchange creation and configuration may be significant) git-svn-id: https://svn.forgerock.org/openig/trunk@647 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
15 Oct, 2014
3 commits
-
- Reorganized imports. - Removed extra spaces. - Closed previously 'omitted' inputstreamreader in RouteBuilder. (OPENIG-312) git-svn-id: https://svn.forgerock.org/openig/trunk@623 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
Consider using Jackson for parsing the JSON configuration - Renamed JsonValueUtil to Json. - Renamed JsonValueUtilTest to JsonTest. git-svn-id: https://svn.forgerock.org/openig/trunk@622 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
configuration - Remove json simple from openig pom file configuration. (added com.fasterxml.jackson.core / databind) - Jackson throws now IOExceptions instead of json exceptions. - Added unit tests. - Fixed javadoc. git-svn-id: https://svn.forgerock.org/openig/trunk@621 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
08 Oct, 2014
1 commit
-
git-svn-id: https://svn.forgerock.org/openig/trunk@611 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
19 Sep, 2014
1 commit
-
git-svn-id: https://svn.forgerock.org/openig/trunk@583 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
15 Sep, 2014
2 commits
-
Heap.get(String):Object gains type safety Heap.get(String, Class<T>):T Heap.getRequiredObject(JsonValue, Class<T>) has a shorter name Heap.resolve(JsonValue, Class<T>):T Heap.getObject(JsonValue, Class<T>) is replaced by a resolve variant that supports optional dependencies: Heap.resolve(JsonValue, Class<T>, boolean):T git-svn-id: https://svn.forgerock.org/openig/trunk@572 dbb9e58e-28e6-4ce0-90e8-f11d9605b710 -
Inline object declarations are a mean to ease understanding of Exchange processing. They permit to describe anonymously, inner objects when a reference to another heap object is required. That introduce, in the configuration files, some hierarchical support, easing the user to mentally represents his processing chain. This is done in a fully backward compatible way, without requiring any changes to existing object declarations (the one that requires other objects through references or names). The idea is to automatically extract inline declaration when the Heaplet is calling the get***Object() methods: if the provided JsonValue is a String, traditional object lookup is performed, but when the JsonValue represents a JSONObject (a Map), we try to turn this into a normal object declaration (just like what is done during heap initialisation). If the given JsonValue does not describe a valid declaration, a JsonValueException is thrown (again, just like the heap init process is doing). Notice that inline declarations do not require a 'name' attribute to be specified (like anonymous Java classes), so we generate a unique name based on the JsonPointer (represents the location of the node in the JSON structure). Notice that OPENIG-316 is partly resolved in this commit: HeapUtil methods have only been moved into the Heap interface: no additional type safety, no renaming. git-svn-id: https://svn.forgerock.org/openig/trunk@571 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
08 Sep, 2014
1 commit
-
git-svn-id: https://svn.forgerock.org/openig/trunk@562 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
05 Sep, 2014
1 commit
-
When a new heap object instance has to be created, we first have to find a Heaplet instance that will create the required object from the given JSON configuration. Heaplet instances are linked to the single object they created: they manage the heap object lifecycle with the start() and destroy() methods. The old behaviour was using Heaplet instances directly loaded and instantiated, meaning that a single Heaplet instance could be used to create multiple heap objects, somehow mixing states, which was very wrong. Now, HeapletFactory (instead of direct Heaplet) are found using the ServiceLoader discovery mechanism. They are responsible to create new Heaplet instances, meaning that we cannot anymore share a Heaplet instance for 2 or more heap objects. Heaplet class does not extends Indexed<Class> anymore (was only used because of the way Heaplets was looking for Heaplet instances). NestedHeaplet is now deprecated since its only duty was to implement the Indexed interface. All references to NestedHeaplet were replaced to GenericHeaplet (its parent class) in our code base to avoid ugly compiler warnings. As per OPENIG-302 comments, the HeapletFactory will be a short-lived concept since this additional layer introduction was the straw that broke the camel's back :) Issues: OPENIG-302 Reviews: CR-4457 git-svn-id: https://svn.forgerock.org/openig/trunk@555 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
02 Sep, 2014
1 commit
-
- Renamed ACCESS_TOKEN_KEY to DEFAULT_ACCESS_TOKEN_KEY. - Target is now optional/customizable for user. Default to ${exchange.oauth2AccessToken}. git-svn-id: https://svn.forgerock.org/openig/trunk@548 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
29 Aug, 2014
1 commit
-
…rom scripts or expression - renamed rawInfo as info. - Instead of 'exchange.oauth2AccessToken.rawInfo.get('mail').asString()' we can now write 'exchange.oauth2AccessToken.info.mail' - modified unit tests. See review for further details. git-svn-id: https://svn.forgerock.org/openig/trunk@545 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
26 Aug, 2014
1 commit
-
git-svn-id: https://svn.forgerock.org/openig/trunk@537 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
21 Aug, 2014
1 commit
-
git-svn-id: https://svn.forgerock.org/openig/trunk@515 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
05 Aug, 2014
1 commit
-
git-svn-id: https://svn.forgerock.org/openig/trunk@468 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
03 Aug, 2014
4 commits
-
git-svn-id: https://svn.forgerock.org/openig/trunk@446 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
Minor enhancement: provide the ability to configure per-provider scopes. Scopes are also no longer required since defaults can be configured at the IdP. See Javadoc for more detail. git-svn-id: https://svn.forgerock.org/openig/trunk@445 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
* Request.uri is now a MutableUri * Removed UriResolver since it was useless with both this new feature and the BeanResolver git-svn-id: https://svn.forgerock.org/openig/trunk@444 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
… order to add addition "enhanced" getters and setters for fields Provide better APIs for interacting with Message entities. Previously we were stuck with the esoteric BranchingInputStream which makes entities very hard (impossible?) to use in expressions and Groovy. * methods for getting the entity's content as JSON or as a plain String * methods for setting the entity's content to JSON or String data * simplification (I hope) of the branch life-cycle management * make Message closeable, delegating close to the entity and onto the branching input stream, allowing us to avoid alot of null-checking boilerplace. git-svn-id: https://svn.forgerock.org/openig/trunk@443 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
31 Jul, 2014
3 commits
-
… order to add addition "enhanced" getters and setters for fields * remove FormAttributes since the underlying form can now be lazily created from the getter. git-svn-id: https://svn.forgerock.org/openig/trunk@432 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
… order to add addition "enhanced" getters and setters for fields * perform mechanical changes to encapsulate fields for Message, Request, and Response * added Javadoc for getters and setters * Message no longer extends FieldMap since the expression library leverages the BeanResolver. Remaining non-mechanical changes (e.g. adding enhanced getters/setters) will be performed as separate changes. git-svn-id: https://svn.forgerock.org/openig/trunk@430 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
* Provided a SPI interface to be implemented by modules who want to enrich the supported aliases collection * Provided implementations for all OpenIG's modules (core, saml and oauth2) git-svn-id: https://svn.forgerock.org/openig/trunk@426 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
30 Jul, 2014
3 commits
-
Main entry point is OAuth2ClientFilter Supports: * OAuth 2.0 "authorization code" grant type * automatic token refresh * proactive and reactive authorization for SSO * user initiated login / logout * OpenID Connect Relying Party * OpenID Connect discovery via "well-known configuration" * multiple providers and optional "Nascar" page * session based persistence * CSRF prevention via 160 bit state nonces * manually tested against OpenAM 11 and Google. TODO: * more unit testing * cookie based session management via encrypted JWT tokens * attribute mappings per provider? (TBD) * consider replacing default login/logout URLs with handlers? git-svn-id: https://svn.forgerock.org/openig/trunk@424 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
… the role used by this filter * Also aligned with filter names that will come for OpenIDConnect support git-svn-id: https://svn.forgerock.org/openig/trunk@422 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
git-svn-id: https://svn.forgerock.org/openig/trunk@421 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
29 Jul, 2014
1 commit
-
* Uses Duration.duration(String) instead of constructor git-svn-id: https://svn.forgerock.org/openig/trunk@409 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
24 Jul, 2014
2 commits
-
* Some cases are not covered yet, needs to re-think the header parsing to be more strict git-svn-id: https://svn.forgerock.org/openig/trunk@383 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
* Introduced openig-oauth2 maven module * AccessTokenResolver is producing an AccessToken ** OpenAm resolver is provided * Token extraction and validation against a token info endpoint ** Expiry is verified ** Scope compatibility is verified ** In case of errors, standard RFC 6750 compliant error responses are returned * AccessToken are cached ** Expiration delay is configurable * Provided an EnforcerFilter that enforce a condition before delegating the execution git-svn-id: https://svn.forgerock.org/openig/trunk@382 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
18 Jul, 2014
1 commit
-
…on files (routes) from a directory * rename configuration option scan-interval to scanInterval in order to align with camel-case naming convention used throughout OpenIG. git-svn-id: https://svn.forgerock.org/openig/trunk@373 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
11 Jul, 2014
4 commits
-
… server now provided. Note that this does not remove the step entirely from the documentation, just from the simplified "getting started" procedure. This topic is still covered in the full installation instructions at http://openig.forgerock.org/doc/gateway-guide/#jetty-cookie-domains git-svn-id: https://svn.forgerock.org/openig/trunk@359 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
OPENIG-185: Document how to configure containers for TLS OPENIG-186: Merge chapters on configuring deployment containers & installing OpenIG git-svn-id: https://svn.forgerock.org/openig/trunk@358 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
git-svn-id: https://svn.forgerock.org/openig/trunk@357 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
git-svn-id: https://svn.forgerock.org/openig/trunk@356 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
10 Jul, 2014
1 commit
-
…h Java versions & containers we want to support git-svn-id: https://svn.forgerock.org/openig/trunk@355 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
09 Jul, 2014
3 commits
-
git-svn-id: https://svn.forgerock.org/openig/trunk@352 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
git-svn-id: https://svn.forgerock.org/openig/trunk@351 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
git-svn-id: https://svn.forgerock.org/openig/trunk@350 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
08 Jul, 2014
1 commit
-
git-svn-id: https://svn.forgerock.org/openig/trunk@349 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
07 Jul, 2014
1 commit
-
Replaced Copyrighted with Copyright removed the (c) character not required removed All rights reserved from Apex Identity copyrights. The code is open source, thus rights are no longer reserved. git-svn-id: https://svn.forgerock.org/openig/trunk@345 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
04 Jul, 2014
1 commit
-
git-svn-id: https://svn.forgerock.org/openig/trunk@334 dbb9e58e-28e6-4ce0-90e8-f11d9605b710