Websphere MQ Everyplace

com.ibm.mqe.jms
Class MQeJMSSimpleAuthenticator

java.lang.Object
  |
  +--com.ibm.mqe.jms.MQeJMSSimpleAuthenticator
All Implemented Interfaces:
MQeJMSAuthenticator

public class MQeJMSSimpleAuthenticator
extends java.lang.Object
implements MQeJMSAuthenticator

The default implementation of MQeJMSAuthenticator. This returns true for any supplied username and password. An alternative implementation of MQeJMSAuthenticator can be specified using MQeConnectionFactory.setAuthenticatorClass(java.lang.String).

See Also:
MQeJMSAuthenticator, MQeConnectionFactory

Constructor Summary
MQeJMSSimpleAuthenticator()
           
 
Method Summary
 boolean isAuthenticated(java.lang.String username, java.lang.String password)
          Default authenticator, which returns true for all username/password combinations.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MQeJMSSimpleAuthenticator

public MQeJMSSimpleAuthenticator()
Method Detail

isAuthenticated

public boolean isAuthenticated(java.lang.String username,
                               java.lang.String password)
Default authenticator, which returns true for all username/password combinations.

Specified by:
isAuthenticated in interface MQeJMSAuthenticator
Parameters:
username -
password -
Returns:
true if the user is authenticated

Websphere MQ Everyplace