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 » why does pcf not need login id and password

Post new topic  Reply to topic
 why does pcf not need login id and password « View previous topic :: View next topic » 
Author Message
twfx
PostPosted: Wed May 30, 2007 12:50 am    Post subject: why does pcf not need login id and password Reply with quote

Newbie

Joined: 23 May 2007
Posts: 2

The MS0B example uses host,port and channel name to connect to MQ,why it does not need login id and password?
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed May 30, 2007 12:53 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Because if you use host, port & channel to connect, and do so as a user not authorised to issue PCF, you'll get a 2035.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
marcin.kasinski
PostPosted: Wed May 30, 2007 12:54 am    Post subject: Re: why does pcf not need login id and password Reply with quote

Sentinel

Joined: 21 Dec 2004
Posts: 850
Location: Poland / Warsaw

twfx wrote:
The MS0B example uses host,port and channel name to connect to MQ,why it does not need login id and password?


With simple MQ application you don't have to specify login id and password either.
_________________
Marcin
Back to top
View user's profile Send private message Visit poster's website
jefflowrey
PostPosted: Wed May 30, 2007 4:03 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

MQ does not authenticate connections by asking for a username and password, ever, in any environment.

It authorizes connections based on the runtime context of the connection originator (your program).

In the case of Java programs, with client connections, the runtime context is only what is available to a standard JVM with standard Java calls. This means there is no access to OS level user stores.
_________________
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 » why does pcf not need login id and password
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.