-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
$RestxSession special header, more samples in AppModule generated file (app.name, security) & test harness for restx-core-shell #40
Commits on Aug 28, 2013
-
Configuration menu - View commit details
-
Copy full SHA for 62aeec2 - Browse repository at this point
Copy the full SHA 62aeec2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3972e82 - Browse repository at this point
Copy the full SHA 3972e82View commit details -
Added UserRepository.java class,
allowing to mimic some User in-memory DAO
Configuration menu - View commit details
-
Copy full SHA for daff9f0 - Browse repository at this point
Copy the full SHA daff9f0View commit details -
Provided implementation for basicPrincipalAuthenticator() in AppModule
Relying on UserRepository injected component Replaced HelloResource @permitAll by @RolesAllowed("hello-role") Added dep on restx-admin (thus on restx-security-basic)
Configuration menu - View commit details
-
Copy full SHA for cfb97d7 - Browse repository at this point
Copy the full SHA cfb97d7View commit details -
Provided spec tests trying to call hello route
with different users (and roles) Had a hard part to be able to sign cookie whereas signature key was randomly generated : I had to provide a Mustache template block in order to succeed
Configuration menu - View commit details
-
Copy full SHA for 867eda2 - Browse repository at this point
Copy the full SHA 867eda2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4006d87 - Browse repository at this point
Copy the full SHA 4006d87View commit details -
Configuration menu - View commit details
-
Copy full SHA for bfed533 - Browse repository at this point
Copy the full SHA bfed533View commit details -
Configuration menu - View commit details
-
Copy full SHA for dd7a592 - Browse repository at this point
Copy the full SHA dd7a592View commit details -
Introduced special "$RestxSession:" header for
when
clausesThis will generate a RestxSession cookie with corresponding signature
Configuration menu - View commit details
-
Copy full SHA for 09aa537 - Browse repository at this point
Copy the full SHA 09aa537View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1e64106 - Browse repository at this point
Copy the full SHA 1e64106View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5ef649f - Browse repository at this point
Copy the full SHA 5ef649fView commit details -
removed useless
generateSignatureFor()
mustache template blockReplaced by $RestxSession special header
Configuration menu - View commit details
-
Copy full SHA for 992fc61 - Browse repository at this point
Copy the full SHA 992fc61View commit details
Commits on Aug 29, 2013
-
Configuration menu - View commit details
-
Copy full SHA for b9cd78c - Browse repository at this point
Copy the full SHA b9cd78cView commit details -
Configuration menu - View commit details
-
Copy full SHA for c1b38e0 - Browse repository at this point
Copy the full SHA c1b38e0View commit details -
Extracted RestxSpec inner classes to upper classes
and moved imports/references accordingly
Configuration menu - View commit details
-
Copy full SHA for cf2e31e - Browse repository at this point
Copy the full SHA cf2e31eView commit details
Commits on Aug 30, 2013
-
Transforming cookies map into an immutable map inside
WhenHttpRequest constructor
Configuration menu - View commit details
-
Copy full SHA for d6d460c - Browse repository at this point
Copy the full SHA d6d460cView commit details -
Refactored WhenHttpRequest instanciation in
RestxSpecLoader with a builder, thus removing adherence to cookies in WhenHeaders.fillCookiesFromValue() (which was renamed to readHeader())
Configuration menu - View commit details
-
Copy full SHA for 47bf2b2 - Browse repository at this point
Copy the full SHA 47bf2b2View commit details -
Considering shell-dependent modules as module to build "in the end"
These modules could generate some restx app during tests, and when executing maven on these generated apps, every "standard" restx modules should have been installed in local maven repo to be correctly resolved
Configuration menu - View commit details
-
Copy full SHA for 0963bdb - Browse repository at this point
Copy the full SHA 0963bdbView commit details -
Transformed RestxSpecLoader.WhenHeaders enum into a @component
Thus allowing to inject SignatureKey & RestxSessionCookieDesriptor when needed Will eventually allow to have these WhenHeaders pluggables
Configuration menu - View commit details
-
Copy full SHA for 5b744fc - Browse repository at this point
Copy the full SHA 5b744fcView commit details -
Improved the way to resolve current module version
thanks to xavier's comment c1b38e0#commitcomment-3977154
Configuration menu - View commit details
-
Copy full SHA for 055edd3 - Browse repository at this point
Copy the full SHA 055edd3View commit details