com.ibm.mq
Class MQExternalSecurityExit

java.lang.Object
  |
  +--com.ibm.mq.MQExternalUserExit
        |
        +--com.ibm.mq.MQExternalSecurityExit
All Implemented Interfaces:
MQSecurityExit

public class MQExternalSecurityExit
extends MQExternalUserExit
implements MQSecurityExit

Enables Java code to call a non-Java security exit.

An MQExternalSecurityExit object holds all the information required to construct the MQCXP and MQCD objects that are required when calling the non-Java security exit.


Field Summary
   
Constructor Summary
MQExternalSecurityExit()
          The default constructor.
MQExternalSecurityExit(java.lang.String libraryName, java.lang.String entryPointName, java.lang.String userData)
          Constructs an object with an exit already defined.
 
Method Summary
 byte[] securityExit(MQChannelExit exitParms, MQChannelDefinition channelParms, byte[] data)
          Calls the external user exit.
 
Methods inherited from class com.ibm.mq.MQExternalUserExit
getExitClasspath, getReasonCode, getUserData, getWMQExitClasspath, setEntryPointName, setLibraryName, setNewBuffer, setUserData
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MQExternalSecurityExit

public MQExternalSecurityExit()
The default constructor.


MQExternalSecurityExit

public MQExternalSecurityExit(java.lang.String libraryName,
                              java.lang.String entryPointName,
                              java.lang.String userData)
Constructs an object with an exit already defined.

Parameters:
libraryName - the name of the library module that contains the exit.
entryPointName - the name of the entry point in libraryName used by the exit.
userData - the data defined by the user.
Method Detail

securityExit

public byte[] securityExit(MQChannelExit exitParms,
                           MQChannelDefinition channelParms,
                           byte[] data)
Calls the external user exit.

Specified by:
securityExit in interface MQSecurityExit
Parameters:
exitParms - the data on the exit.
channelParms - the data on the channel.
data - the raw message data.
Returns:
the raw message data after processing by the exit.
See Also:
MQChannelExit, MQChannelDefinition

(c) Copyright IBM Corp. 2005. All Rights Reserved.