|
Websphere MQ Everyplace | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.mqe.MQe | +--com.ibm.mqe.MQeAuthenticator | +--examples.attributes.LogonAuthenticator | +--examples.attributes.NTAuthenticator
Provides NT Authentication support.
NOTE: Requires the following :
-Act as part of the operating system. -Logon as locally. -Logon as service. ( use Program->Administration Tools(common)->Policies->User Rights, Show Advanced User Rights ).
Field Summary | |
protected int |
handle
|
protected static JavaNT |
ntDll
|
protected static java.lang.String |
NTU_Domain
|
protected static java.lang.String |
NTU_Password
|
protected static java.lang.String |
NTU_UserId
|
static short[] |
version
|
Fields inherited from class examples.attributes.LogonAuthenticator |
Authentic_ID |
Constructor Summary | |
NTAuthenticator()
|
Method Summary | |
void |
close()
Closes the authenticator. |
java.lang.String |
mask(java.lang.String data)
Mask a string. |
protected void |
prompt(MQeFields fields)
(Master) Prompt to enter userid an password data. |
protected java.lang.String |
validate(MQeFields fields)
(Slave) Validate the userid and password. |
Methods inherited from class examples.attributes.LogonAuthenticator |
activateMaster, activateSlave, slaveResponse |
Methods inherited from class com.ibm.mqe.MQeAuthenticator |
setAuthenticatedID |
Methods inherited from class com.ibm.mqe.MQe |
abbreviate, alias, asciiToByte, byteToAscii, byteToHex, byteToHex, byteToInt, byteToLong, byteToShort, byteToUnicode, fileSeparator, getEventLogHandler, hexToAscii, hexToByte, intToByte, isCLDC, loadClass, loadObject, log, setEventLogHandler, setLoader, sliceByteArray, type, unicodeToByte, uniqueValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static short[] version
protected static final java.lang.String NTU_Domain
protected static final java.lang.String NTU_UserId
protected static final java.lang.String NTU_Password
protected static JavaNT ntDll
protected int handle
Constructor Detail |
public NTAuthenticator()
Method Detail |
public void close()
close
in class LogonAuthenticator
protected void prompt(MQeFields fields) throws java.lang.Exception
prompt
in class LogonAuthenticator
fields
- MQeFields object
java.lang.Exception
protected java.lang.String validate(MQeFields fields) throws java.lang.Exception
validate
in class LogonAuthenticator
fields
- MQeFields object
java.lang.Exception
public java.lang.String mask(java.lang.String data)
data
- String to be masked
|
Websphere MQ Everyplace | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |