|  | 
 
  
    | RSS Feed - WebSphere MQ Support | RSS Feed - Message Broker Support |  
 
  
	|    |  |  
  
	| why does pcf not need login id and password | « View previous topic :: View next topic » |  
  	| 
		
		
		  | Author | Message |  
		  | twfx | 
			  
				|  Posted: Wed May 30, 2007 12:50 am    Post subject: why does pcf not need login id and password |   |  |  
		  | Newbie
 
 
 Joined: 23 May 2007Posts: 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 |  |  
		  |  |  
		  | Vitor | 
			  
				|  Posted: Wed May 30, 2007 12:53 am    Post subject: |   |  |  
		  |  Grand High Poobah
 
 
 Joined: 11 Nov 2005Posts: 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 |  |  
		  |  |  
		  | marcin.kasinski | 
			  
				|  Posted: Wed May 30, 2007 12:54 am    Post subject: Re: why does pcf not need login id and password |   |  |  
		  | Sentinel
 
 
 Joined: 21 Dec 2004Posts: 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 |  |  
		  |  |  
		  | jefflowrey | 
			  
				|  Posted: Wed May 30, 2007 4:03 am    Post subject: |   |  |  
		  | Grand Poobah
 
 
 Joined: 16 Oct 2002Posts: 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 |  |  
		  |  |  
		  |  |  |  
  
	|    |  | Page 1 of 1 |  
 
 
  
  	| 
		
		  | 
 
 | 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
 
 |  |  |  |