jxUtil 0.6

org.sourceforge.jxutil.net.ddm.qddbasd
Class SECMEC

java.lang.Object
  |
  +--org.sourceforge.jxutil.net.ddm.qddprmd.DATA
        |
        +--org.sourceforge.jxutil.net.ddm.qddprmd.STRING
              |
              +--org.sourceforge.jxutil.net.ddm.qddbasd.SECMEC

public class SECMEC
extends STRING

Security Mechanism. DRDA defines a security mechanism, in the context of this term, as a combination of security mechanism components. To avoid confusion, however, the reader should be aware that throughout this specification the components themselves are often referred to as security mechanisms but that they are usually used in combination, and that the codes in the (SECMEC) string specify one or more combinations of security mechanisms components. When SECMEC flows from the source server to the target server, the SECMEC parameter specifies the security mechanism combination that the source server wants to use. When SECMEC flows from the target server to the source server, the SECMEC parameter must either reflect the value requested by the source server or if the target server does not support the requested security mechanism, then the target server returns the SECMEC values that it does support.


Field Summary
static short CP
           
static short DCESEC
          Distributed Computing Environment Security
static short EUSRIDNWPWD
          Encrypted Userid, Password, New Password Security Mechanism
static short EUSRIDPWD
          Encrypted Userid and Password Security Mechanism
static short KERSEC
          Kerberos Security
static short USRENCPWD
          Userid with Encrypted Password
static short USRIDNWPWD
          Userid, Password, and New Password Security Mechanism
static short USRIDONL
          Userid Only Security Mechanism
static short USRIDPWD
          Userid and Password Security Mechanism
static short USRSBSPWD
          Userid with Substitute Password
static short USRSSBPWD
          Userid with Strong Substitute Password
private  short[] value
          The SECMEC may only contain multiple values when it is carried in the ACCSECRD and the target security manager does not support the requested security mechanism.
 
Constructor Summary
SECMEC(DDM ddm, int len)
           
SECMEC(short value)
           
 
Method Summary
 String toString()
          Pretty print.
 void write(DDM ddm)
          Write out the object.
 
Methods inherited from class org.sourceforge.jxutil.net.ddm.qddprmd.DATA
getCP
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CP

public static final short CP
See Also:
Constant Field Values

DCESEC

public static final short DCESEC
Distributed Computing Environment Security

See Also:
Constant Field Values

EUSRIDNWPWD

public static final short EUSRIDNWPWD
Encrypted Userid, Password, New Password Security Mechanism

See Also:
Constant Field Values

EUSRIDPWD

public static final short EUSRIDPWD
Encrypted Userid and Password Security Mechanism

See Also:
Constant Field Values

KERSEC

public static final short KERSEC
Kerberos Security

See Also:
Constant Field Values

USRENCPWD

public static final short USRENCPWD
Userid with Encrypted Password

See Also:
Constant Field Values

USRIDNWPWD

public static final short USRIDNWPWD
Userid, Password, and New Password Security Mechanism

See Also:
Constant Field Values

USRIDONL

public static final short USRIDONL
Userid Only Security Mechanism

See Also:
Constant Field Values

USRIDPWD

public static final short USRIDPWD
Userid and Password Security Mechanism

See Also:
Constant Field Values

USRSBSPWD

public static final short USRSBSPWD
Userid with Substitute Password

See Also:
Constant Field Values

USRSSBPWD

public static final short USRSSBPWD
Userid with Strong Substitute Password

See Also:
Constant Field Values

value

private final short[] value
The SECMEC may only contain multiple values when it is carried in the ACCSECRD and the target security manager does not support the requested security mechanism.

Constructor Detail

SECMEC

public SECMEC(DDM ddm,
              int len)
       throws IOException

SECMEC

public SECMEC(short value)
Method Detail

toString

public String toString()
Description copied from class: DATA
Pretty print.

Overrides:
toString in class DATA
Returns:
the class name and code point value.

write

public void write(DDM ddm)
           throws IOException
Description copied from class: DATA
Write out the object.

Overrides:
write in class DATA
Parameters:
ddm - the DDM stream
IOException

jxUtil 0.6

Copyright © 2001,2002 Keve Müller, et al.; see LICENSE file for details.