Monday, May 16, 2016

Missing libraries on installation of IBM Message Broker and Message Queue (Part I)


I am going back to IBM Message Queue and Message Broker, after some years, returning to old school, I have decided to publish this time some memories of working around and by now the following libraries are required to install the ibm middleware on a Centos 7 Machine:

  Best regards,

Tuesday, May 3, 2016

How to solve artifact not found by maven?

Recently I have to chance settings.xml configuration quickly for download from different repositories after compiling I have received the following error:

"was cached in the local repository, resolution will not be reattempted until the update interval of" "has elapsed or updates are forced"

The solution to this problem is remove some keys and blueprint of artifact that were downloaded from different sites: 

find ~/.m2/ -name "*.lastUpdated" | xargs rm
find ~/.m2/ -name "*.sha1" | xargs rm 
find ~/.m2/ -name "*.repositories" | xargs rm 
 
 
Best Regards, 

Saturday, April 23, 2016

How to create a client for 'X-Auth-Token' authentication over Spring Security implementation on a Rest Service?

I am building an application for practicing an architecture and its balance, I have to create a client for testing purpose, the rest service use tokens for authentication implementing Spring Security that employs: authentication-manager, security http, AuthenticationTokenProcessingFilter, intercept-url and tokens, so after some reading I have to resolve 'X-Auth-Token' inject on headers and authentication part, the following lines are for testing this king of Authentication:

By now we have a client for test authentication and authorization for next steps.

Best regards,