Security (examples.attributes)

This package contains a set of classes that show how to write additional components to extend MQe security. However, they are not designed to be used for asynchronous messaging and do not provide very strong security.

NTAuthenticator
An authenticator that authenticates a user to the Windows NT® security database. To authenticate correctly the user must have the following User Rights set on the target NT system:
  • Act as part of the operating system
  • Logon locally
  • Logon as a service
The NT authenticator uses the Java™ native interface (JNI) to interact with Windows NT® security. The code for this can be found in the examples.nativecode directory. The dll built from this code must be placed in the PATH of the NT machine that owns the target resource.
UnixAuthenticator
An authenticator that authenticates a user using the UNIX® password or shadow password system. The UNIX authenticator uses the JNI to interact with the host system. The code for this can be found in the examples.nativecode directory. If your system supports the shadow password file, you must recompile this native code with the USE_SHADOW preprocessor flag defined. You must also ensure the code has sufficient privileges to read the shadow password file when it executes. This example does not work if your system uses a distributed logon service (such as Lightweight Directory Access Protocol (LDAP)).
LogonAuthenticator
Base logon authentication support.
UseridAuthenticator

Support for base userID authentication.

This example requires a UserIDS.txt file as input. This file must have the format:
        [UserIDs]

      User1Name=User1Password

      …  

      UserNName=UserNPassword 

See sec10001.html#mqegsec for more detailed information about the MQe security features.


Terms of use | WebSphere software

(c) Copyright IBM Corporation 2004, 2005. All rights reserved.