This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Web login page versus Swing Login UI

 
Mark Spritzler
ranger
Sheriff
Posts: 17276
6
IntelliJ IDE Mac Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So with Web and J2EE we have this great integration with a FORM simple web page and passing the Principal to the Servlets and on to Services. This is great, easy to do.

But what if you have a Swing application and you have a Swing login page to login, How do you pass the Principal down to say EBJ3 Session Beans that are declared that the called needs to be in a role. I don't seem to find any nice integration like you have in Web UIs.

Thanks

Mark
 
Set Cruz
Greenhorn
Posts: 26
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mark, I would declare my remote to take a Principal argument, and intercept the call to authenticate/authorize.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic