08 Sep, 2014
3 commits
-
git-svn-id: https://svn.forgerock.org/openig/trunk@563 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
git-svn-id: https://svn.forgerock.org/openig/trunk@562 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
git-svn-id: https://svn.forgerock.org/openig/trunk@561 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
05 Sep, 2014
6 commits
-
To keep backward compatibility, 'keystone' and 'truststore' are left unchanged but have been deprecated. We've added 2 new attributes to specify reference(s) to TrustManager(s) and KeyManager(s) declared as heap objects. Issues: OPENIG-305 git-svn-id: https://svn.forgerock.org/openig/trunk@560 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
This change eases references resolution when they are provided as a JSON String array (like ["RefOne", "RefTwo"]). git-svn-id: https://svn.forgerock.org/openig/trunk@559 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
The two referenced service implementations do not exist (anymore ?). And the service file name was incorrect (no HeapletService interface exist). git-svn-id: https://svn.forgerock.org/openig/trunk@558 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
KeyStore and related security objects are being more and more central to OpenIG: * Used by HttpClient * Needed for encryption / decryption This patch is a first step to provide a way to configure theses as usual heap objects (through JSON). KeyStore heap object is an abstraction around the keystore file (either JKS, PKCS12 or other depending on the platform capabilities). Specifying a password or not depends on he usage: * If KeyStore will be used to read private credentials (through a KeyManager for example), a password is required * If not (for a TrustManager), no password is required KeyManager and TrustManager are using a KeyStore heap object and are used within SSL mechanism (SSLContext) to provide a view on the KeyStore: * KeyManager when private credentials access is required. * TrustManager when only public information access is required Issues: OPENIG-295 Reviews: CR-4441 git-svn-id: https://svn.forgerock.org/openig/trunk@557 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
The previously introduced evaluate() method was a step in the right direction, allowing resolution of static (no references to ${exchange}) string JsonValue, returning a simple resolved String. While it works great, it's a shame that we don't benefit anymore of the JsonValue API, in particular the conversion methods (asURL(), ...). This fix uses a JsonTransformer to actually resolve any String wrapped JsonValue and creates a deep copy of the given JsonValue. git-svn-id: https://svn.forgerock.org/openig/trunk@556 dbb9e58e-28e6-4ce0-90e8-f11d9605b710 -
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
26 Aug, 2014
1 commit
-
- Added unit tests. git-svn-id: https://svn.forgerock.org/openig/trunk@536 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
25 Aug, 2014
2 commits
-
git-svn-id: https://svn.forgerock.org/openig/trunk@530 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
git-svn-id: https://svn.forgerock.org/openig/trunk@529 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
22 Aug, 2014
2 commits
-
git-svn-id: https://svn.forgerock.org/openig/trunk@527 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
git-svn-id: https://svn.forgerock.org/openig/trunk@525 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
21 Aug, 2014
3 commits
-
git-svn-id: https://svn.forgerock.org/openig/trunk@514 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
git-svn-id: https://svn.forgerock.org/openig/trunk@513 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
git-svn-id: https://svn.forgerock.org/openig/trunk@512 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
20 Aug, 2014
1 commit
-
git-svn-id: https://svn.forgerock.org/openig/trunk@511 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
08 Aug, 2014
2 commits
-
git-svn-id: https://svn.forgerock.org/openig/trunk@507 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
git-svn-id: https://svn.forgerock.org/openig/trunk@502 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
04 Aug, 2014
1 commit
-
* Request.getEntity() never returns null, so it can't be used to determine if the request had a content or not * Added an isEmpty() method for this purpose * Updated HttpClient to use Entity.isEmpty() git-svn-id: https://svn.forgerock.org/openig/trunk@461 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
03 Aug, 2014
10 commits
-
* Non-expression values are still supported (fixed/static expression like "http://www.example.com") *Expressions are evaluated at runtime against the executed Exchange ("http://${exchange.host}:8080" will be resolved against the Exchange) * If evaluated expression returns null (evaluation error, or null result of a successful evaluation), a HandlerException is thrown * Added test case git-svn-id: https://svn.forgerock.org/openig/trunk@457 dbb9e58e-28e6-4ce0-90e8-f11d9605b710 -
* Reflect this in the Heaplet, throw an exception at config time if the attribute is missing (better than a NPE at execution time) git-svn-id: https://svn.forgerock.org/openig/trunk@455 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
* By default, the new Request is kept in the Exchange * If enabled, the original Request is restored in the Exchange git-svn-id: https://svn.forgerock.org/openig/trunk@454 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
They are currently not working, so I disabled them for now git-svn-id: https://svn.forgerock.org/openig/trunk@453 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
git-svn-id: https://svn.forgerock.org/openig/trunk@452 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
* Only read the values if fields attribute is present git-svn-id: https://svn.forgerock.org/openig/trunk@450 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
Minor optimization. git-svn-id: https://svn.forgerock.org/openig/trunk@447 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
git-svn-id: https://svn.forgerock.org/openig/trunk@446 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
01 Aug, 2014
1 commit
-
Notice that the welcome page now uses the Maven property ${welcomeDocUrl}. As mentioned in the POM, for a release build we need to set this to http://docs.forgerock.org/en/openig/${project.version} when building the RC. For example: $ mvn -D'welcomeDocUrl=http://docs.forgerock.org/en/openig/${project.version}/' clean package git-svn-id: https://svn.forgerock.org/openig/trunk@436 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
31 Jul, 2014
8 commits
-
… order to add addition "enhanced" getters and setters for fields Reduce the size of the BranchingInputStream API in order to make it easier to understand and refactor: * pushed down closeBranches, isClosed, and getParent into BranchingStreamWrapper since they are private implementation details * fixed Request form decoding to close just the branch it created and not other branches. git-svn-id: https://svn.forgerock.org/openig/trunk@435 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
… order to add addition "enhanced" getters and setters for fields More mechanical changes: add encapsulation for LogMetric and LogEntry. git-svn-id: https://svn.forgerock.org/openig/trunk@434 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
… order to add addition "enhanced" getters and setters for fields More mechanical changes: * add encapsulation for cookies * required equals/hashCode implementations for unit tests. git-svn-id: https://svn.forgerock.org/openig/trunk@433 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
… 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 Rename getThis() to thisMessage() in order to prevent Groovy's Bean introspection from going into a downward spiral when serializing request objects. I was hoping that it would ignore package private methods, but it seems not. git-svn-id: https://svn.forgerock.org/openig/trunk@431 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
-
git-svn-id: https://svn.forgerock.org/openig/trunk@428 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