ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Java / JMS » logging on with alternate user ID

Post new topic  Reply to topic
 logging on with alternate user ID « View previous topic :: View next topic » 
Author Message
MPDC
PostPosted: Fri Mar 11, 2005 7:55 am    Post subject: logging on with alternate user ID Reply with quote

Newbie

Joined: 10 Feb 2004
Posts: 4

Does anybody have a code-example lying around for logging on using a different user id then the one supplied by the OS?
Back to top
View user's profile Send private message Visit poster's website
jefflowrey
PostPosted: Fri Mar 11, 2005 10:42 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

The search button does.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
MPDC
PostPosted: Tue Mar 15, 2005 3:24 am    Post subject: no it doesn't Reply with quote

Newbie

Joined: 10 Feb 2004
Posts: 4

The search button has, after many hours, supplied me with plenty of examples how not to do it, and a few comments from people who claim it is impossible. I actually use the DOT NET driver, but post it here because the programming seems similar and there is no specific .net forum. Some comments say it is possible in Java because applets can't get the system user ID but that in all other languages user ID's have to be signed, whatever that means. The user documentation talks about getting the Windows SID user authentication and using that one. It however does not give any examples. From the forums I can see this is a recurrent problem many people face. Most of them end up circumventing the problem by creating alternate user id's on the server or unprotected channels. Is there an elite uber-hacker out there who can write a FAQ about this?
Back to top
View user's profile Send private message Visit poster's website
jefflowrey
PostPosted: Tue Mar 15, 2005 3:59 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You've found the truth.

In all cases where it is possible, IBM does the right thing - which is pass the OS level user ID and password for the process running the code. Which means that, except in Java where Java requires it to be NOT possible, you merely have to change which user is running your process!

Or implement a security exit.

But generally, posting a question about one language in the forum for another language won't end up being very helpful.

You might also look at MQCONNX.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » logging on with alternate user ID
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.