04 Aug, 2014
5 commits
-
git-svn-id: https://svn.forgerock.org/openig/trunk@464 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
git-svn-id: https://svn.forgerock.org/openig/trunk@462 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
* 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
-
git-svn-id: https://svn.forgerock.org/openig/trunk@460 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
git-svn-id: https://svn.forgerock.org/openig/trunk@459 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
03 Aug, 2014
16 commits
-
git-svn-id: https://svn.forgerock.org/openig/trunk@458 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
* 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 -
git-svn-id: https://svn.forgerock.org/openig/trunk@456 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
-
git-svn-id: https://svn.forgerock.org/openig/trunk@451 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
-
git-svn-id: https://svn.forgerock.org/openig/trunk@449 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
* fix bug which meant that incoming request's path and query were not URL decoded correctly and prevented redirect URLs from working. git-svn-id: https://svn.forgerock.org/openig/trunk@448 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
-
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
01 Aug, 2014
7 commits
-
git-svn-id: https://svn.forgerock.org/openig/trunk@442 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
git-svn-id: https://svn.forgerock.org/openig/trunk@441 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
o/ *Great thanks to Mark de Reeper for his patch* \o git-svn-id: https://svn.forgerock.org/openig/trunk@440 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
…mlFederationHandler" handler should be "fedletSloRedirect" git-svn-id: https://svn.forgerock.org/openig/trunk@439 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
git-svn-id: https://svn.forgerock.org/openig/trunk@438 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
git-svn-id: https://svn.forgerock.org/openig/trunk@437 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
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
10 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@429 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
git-svn-id: https://svn.forgerock.org/openig/trunk@428 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
git-svn-id: https://svn.forgerock.org/openig/trunk@427 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
2 commits
-
git-svn-id: https://svn.forgerock.org/openig/trunk@425 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
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