Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

passing identity of a plain java program to an ejb  RSS feed

 
Srinivas Musuku
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
I would like to call a secured ejb from a plain java program.
I have my ejb secured and have the local os (windows xp) users as part of the ejb role.
I would like to run the java program as one of the users in the ejb role and pass the authorization of the ejb.
Right now i am getting an un authenticated error when I call.
I have been working on this for a long time. Any help is appreciated....
 
Leandro Melo
Ranch Hand
Posts: 401
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How do you log in the application server?
 
Srinivas Musuku
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have the ejb running on a server with Security enabled.
I run the server with Local OS credentials (Windows XP local user).
I have roles set up for the ejb, with local Windows XP users as part os the role.
I would like to run a simple java program and authorize to the ejb as one of the users in the role.

I am using WSAD version 5.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!