Commit Graph

2191 Commits

Author SHA1 Message Date
Micah Silverman ea4fbe920c updated ignoringAntMatchers for csrf 2016-07-14 02:00:04 -04:00
Micah Silverman 4a4c4f3c7c updated HomeController to reflect new secrets endpoints. 2016-07-14 00:42:16 -04:00
Micah Silverman 2f6b1ca318 Moved TextCodec.BASE64.decode calls into service. Refactored method names to drive home that you're getting bytes back. 2016-07-14 00:09:53 -04:00
Micah Silverman 6bd3b381d1 Added SecretService for managing good secrets. Updated all secret operations to use SecretService. Added controller to return and set secrets. 2016-07-13 23:23:21 -04:00
Micah Silverman 532437ae46 Added README. 2016-06-27 23:34:01 -04:00
Micah Silverman 50509bf42b Added endpoints to demonstrate claim enforcement and JWT compression. Updated usage endpoint. 2016-06-27 22:54:45 -04:00
Micah Silverman 38e829ef35 Added JWT CSRF expired handling. 2016-06-27 18:51:07 -04:00
Micah Silverman f1630a0199 Added support for JWT CSRF in Spring Security 2016-06-27 13:26:58 -04:00
Micah Silverman 6a057f33b1 Set configurable secret for parsing. 2016-06-27 09:21:42 -04:00
Micah Silverman 14905fae11 Simplified type checking. 2016-06-27 09:05:44 -04:00
Micah Silverman 29a33c3407 Made BaseController to provide uniform exception response. Made JwtResponse for uniform responses. Added ensureType method to enforce type on registered claims. 2016-06-27 08:18:18 -04:00
Micah Silverman df9e4d7ef5 Updated date method calls. 2016-06-25 21:11:56 -04:00
Micah Silverman bf9c5b3c91 Added HomeController with usage. Updated static and dynamic jwt builders. 2016-06-24 14:53:14 -04:00
Micah Silverman 19ba450c08 Created jjwt tutorial 2016-06-24 12:14:11 -04:00
Dmytro Kulaiev 57ed00a134 Code examples for Java 8 date migration (#460) 2016-06-24 15:41:41 +02:00
Grzegorz Piwowarek 024b4f8f61 Add additional AssertJ examples 2016-06-23 17:34:09 +02:00
Eugen b3e9b08887 Update README.md 2016-06-23 17:15:46 +03:00
Grzegorz Piwowarek 920991ece1 Pom fix 2016-06-23 11:33:25 +02:00
eugenp 0d1d3cbd8b minor cleanup 2016-06-23 10:11:56 +03:00
eugenp 2f627a0bab Merge branch 'master' of https://github.com/eugenp/tutorials 2016-06-23 10:07:03 +03:00
eugenp 3c17c9ef4a minor cleanup 2016-06-23 01:04:21 +03:00
Alex Theedom d429cb401e Code and tests for AssertJ 2016-06-22 22:42:49 +01:00
Alex Theedom bea86d4a33 Merge pull request #455 from pivovarit/assertj-introduction
Assertj introduction
2016-06-22 21:59:10 +01:00
eugenp 28029711e4 minor cleanup 2016-06-22 17:49:39 +03:00
Grzegorz Piwowarek 4aa5f7f30c Add second set of assertions 2016-06-21 20:14:22 +02:00
Grzegorz Piwowarek a871f2558f Add first set of assertions 2016-06-21 19:53:15 +02:00
Grzegorz Piwowarek 83df968617 Initial commit 2016-06-20 07:49:39 +02:00
Grzegorz Piwowarek 2b2022c80a Refactor spring-protobuf 2016-06-18 23:28:32 +02:00
eugenp b1bdeb92d6 minor formatting work 2016-06-18 23:52:26 +03:00
Grzegorz Piwowarek c77a992a52 Refactor spring-protobuf 2016-06-18 22:08:24 +02:00
nguyennamthai 85ad446ccf First commit of protocol buffers. (#452) 2016-06-18 21:57:35 +02:00
Grzegorz Piwowarek d9223b24fb Refactor mock-comparisons 2016-06-18 20:21:17 +02:00
Álvaro Fernández González 9a915901af Add mock-comparisons module (#453)
* Add new module for mocks comparison.

* Add sources for testing.

* Changes on testCase.

* Enter some tests for mockito.

* More tests for Mockito.

* Even more tests.

* Add the rest of the mocking libraries.

* Javadoc on test.

* Test bare bones for EasyMock.

* Fist kind of test and setup.

* Add tests using EasyMock with a change on LoginService.

* Create LoginControllerTest.java

* Test setup

* [JMockit] No method called test.

* [JMockit] Two methods called test.

* [JMockit] One method called test.

* [JMockit] Exception mock test

* [JMockit] Mocked object to pass around test.

* [JMockit] Custom matcher test.

* [JMockit] Partial mocking test.

* [JMockit] Fix with IDE.

* Not stubs. Mocks. MOCKS!!!

* Remove unnecesary import.
2016-06-18 19:22:30 +02:00
slavisa-baeldung b9ddf5f8be Merge pull request #436 from egimaben/master
Added guava set+function=map tutorial and tests
2016-06-18 06:50:25 +01:00
DOHA 604e79d426 modify httpclient digest test 2016-06-18 00:52:28 +02:00
DOHA b72f319983 httpclient digest examples 2016-06-17 13:52:55 +02:00
DOHA 22cebf3b39 cleanup 2016-06-17 13:52:55 +02:00
slavisa-baeldung 70322e1a44 spring-mvc-matrix-variables - manually merging 2016-06-15 20:25:41 +02:00
slavisa-baeldung a5bde90d40 java-streams-8-api - adding slf4j fixing indentation 2016-06-15 06:57:43 +02:00
slavisa-baeldung f5ecf03890 Merge pull request #446 from alexVengrovsk/java8-stream
Code for the article "Java 8 Stream API Tutorial"
2016-06-15 05:48:14 +01:00
Alex Theedom 302df05e2f Merge pull request #451 from atheedom/master
Merge pull request #3 from eugenp/master
2016-06-15 01:30:18 +03:00
Alex Theedom e76f8e654a Merge pull request #3 from eugenp/master
Merging latest changes
2016-06-13 23:59:07 +03:00
Alex Theedom 4e01eb6a03 Merge pull request #443 from ccristian/master
jee7schedule
2016-06-13 23:57:33 +03:00
Eugen 73471f6ec9 Update README.md 2016-06-13 00:34:53 +03:00
eugenp 14cd93227b interesting httpclient digest auth example 2016-06-12 23:45:58 +03:00
eugenp 31eaa0e16d interesting httpclient digest auth example 2016-06-12 23:45:42 +03:00
Eugen 6123c319a8 Merge pull request #450 from MiguelGL/master
Rename lombok-intro to just lombok.
2016-06-12 21:38:41 +01:00
Miguel García Lpez 3c0a53ea04 Rename lombok-intro to just lombok. 2016-06-12 22:33:45 +02:00
Eugen 577beecb2e Merge pull request #449 from MiguelGL/master
Code and tests for the lombok introduction.
2016-06-12 21:05:53 +01:00
Miguel García Lpez 7ecd7ce02d Code and tests for the lombok introduction. 2016-06-12 21:28:49 +02:00