• Post Reply Bookmark Topic Watch Topic
  • New Topic

PicketLink: who does the magick?  RSS feed

daniele licitra
Ranch Hand
Posts: 81
Java Linux Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi to all.

I have a WAR project were the authentication is made by PicketLink (version 2.7.1-Final).
This WAR app is deployed on Wildfly 9.0.2.Final.

My app is quite equal to the quickstart example "picketlink-angularjs-rest" that you can find on github.

The javascript code in AngularJS call a web service for authentication:

but there isn't no web service under http://-CONTEXTROOT-/rest/private/authced.

Which class manage the request?

I've also changed the url to http://-CONTEXTROOT-/rest/notexist/authced and the system still works.
What is the url that I need to recall?

I moved some class of teh quickstart in an EJB Module called <i>SecurityModule</i> and in a Jar library (for static things, identities and entities). Then I put this class as dependency of war and it still works.

I moved the same libraries in a EAR.
I had some problem with multiple dependency and i solved in this way:

In the pom.xml of EAR i have include Picketlink as dependency management

and in WAR pom.xml i put the dependency as provided:

The application starts but none of picketlink initializer are launched so the security system not works. See the three classes in the example

What does class activate picketlink system?
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!