Commit Graph

2508 Commits

Author SHA1 Message Date
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
Grzegorz Piwowarek 40ed303abc Refactor xml examples 2016-06-26 11:59:31 +02:00
Raquel Garrido 330c8680c9 XML libraries support (#463)
* dom4j

* added more parsers

* StaxParser

* Jaxb binding

* Jaxb binding

* Finish article
2016-06-26 11:55:42 +02:00
Micah Silverman df9e4d7ef5 Updated date method calls. 2016-06-25 21:11:56 -04:00
Grzegorz Piwowarek a661e0e3c9 Add additional AssertJ examples 2016-06-25 17:24:03 +02:00
Álvaro Fernández González 96182a2bf2 Just setting encoding for module on mock comparison. (#461)
* 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-25 17:11:51 +02: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
Slavisa Baeldung 428f3403ea Merge remote-tracking branch 'origin/master' 2016-06-24 15:49:46 +02: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
Guillermo Casanova 23c7c7d844 New redis module
We have created this module to work with Redis Java libraries
Jedis tested so far
2016-06-23 02:26:55 +02: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
bhaskey 8f35636ba4 webjars demo project added
webjars directory added to tutorial-master. project is added as
webjarsdemo inside that
2016-06-22 16:29:32 +05:30
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
Ivan Paolillo 9f21a102c4 Add JSON Schema validation 2016-06-21 18:13:48 +02:00
Ivan Paolillo 3dbc073fa3 Add gatling example 2016-06-21 18:04:13 +02:00
Ivan Paolillo 3d0b89a66a Add JSON Schema validation 2016-06-21 18:02:14 +02:00
Zeger Hendrikse 9398a29cf6 Merge branch 'master' of https://github.com/bdragan/tutorials into bdragan-master 2016-06-20 22:20:56 +02:00
Grzegorz Piwowarek 83df968617 Initial commit 2016-06-20 07:49:39 +02:00
bdragan 57411aa1c2 Removed copy-pasted comments. 2016-06-19 23:43:13 +02:00
bdragan 27d58fc200 Code examples for the 'Binary Data Formats in a Spring REST API'
article.
2016-06-19 23:36:22 +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
Slavisa Baeldung aaed0434cb Merge remote-tracking branch 'origin/master'
Conflicts:
	jsf/pom.xml
2016-06-17 15:46:46 +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