public final class AaaTcb extends tcb
Modifier and Type | Field and Description |
---|---|
(package private) byte[] |
Aaa |
static int |
AAA_MAJOR_VERSION |
static int |
AAA_MINOR_VERSION |
static int |
ATZ |
private int |
atz_appkey |
private java.lang.String |
atz_group |
private java.lang.String |
atz_name |
private java.lang.String |
atz_provider |
private byte[] |
atz_token |
static int |
AUD |
private int |
aud_appkey |
private java.lang.String |
aud_group |
private java.lang.String |
aud_name |
private java.lang.String |
aud_provider |
private byte[] |
aud_token |
static int |
TOKENVERSION71 |
static int |
TOKENVERSION80 |
static int[] |
tuxnat_mech_objid |
Constructor and Description |
---|
AaaTcb() |
Modifier and Type | Method and Description |
---|---|
int |
_tmpostrecv(java.io.DataInputStream decoder,
int recv_size,
int hint_index) |
void |
_tmpresend(java.io.DataOutputStream encoder,
tch myheader) |
int |
decodeATZ(byte[] buf,
int offset) |
int |
decodeAUD(byte[] buf,
int offset) |
int |
encodeATZ(byte[] buf,
int offset) |
int |
encodeAUD(byte[] buf,
int offset) |
int |
getATZAppKey() |
java.lang.String |
getATZGroupName() |
java.lang.String |
getATZProvider() |
java.lang.String |
getATZUserName() |
int |
getAUDAppKey() |
java.lang.String |
getAUDGroupName() |
java.lang.String |
getAUDProvider() |
java.lang.String |
getAUDUserName() |
boolean |
prepareForCache() |
void |
setATZAppKey(int key) |
void |
setATZGroupName(java.lang.String grp) |
void |
setATZProvider(java.lang.String prov) |
void |
setATZUserName(java.lang.String usr) |
void |
setAUDAppKey(int key) |
void |
setAUDGroupName(java.lang.String grp) |
void |
setAUDProvider(java.lang.String prov) |
void |
setAUDUserName(java.lang.String usr) |
byte[] Aaa
private int atz_appkey
private int aud_appkey
private byte[] atz_token
private byte[] aud_token
private java.lang.String atz_name
private java.lang.String atz_group
private java.lang.String aud_name
private java.lang.String aud_group
private java.lang.String atz_provider
private java.lang.String aud_provider
public static final int ATZ
public static final int AUD
public static final int TOKENVERSION80
public static final int TOKENVERSION71
public static final int AAA_MINOR_VERSION
public static final int AAA_MAJOR_VERSION
public static final int[] tuxnat_mech_objid
public boolean prepareForCache()
prepareForCache
in class tcb
public void _tmpresend(java.io.DataOutputStream encoder, tch myheader) throws TPException, java.io.IOException
_tmpresend
in class tcb
encoder
- The stream object to use to encode this TCBTPException
- If there was a Tuxedo error while encodingjava.io.IOException
- if there was an error using the encoderpublic final int _tmpostrecv(java.io.DataInputStream decoder, int recv_size, int hint_index) throws java.io.IOException
_tmpostrecv
in class tcb
decoder
- The input stream pointing to the start of the TCBrecv_size
- The total size of this TCB, unpaddedjava.io.IOException
- if there was an error reading the input stream
public void setATZUserName(java.lang.String usr)
usr
- The name of the user.public java.lang.String getATZUserName()
public void setATZGroupName(java.lang.String grp)
grp
- The group name.public java.lang.String getATZGroupName()
public void setATZProvider(java.lang.String prov)
prov
- The Provider name.public java.lang.String getATZProvider()
public void setATZAppKey(int key)
key
- The user appkey.public int getATZAppKey()
public void setAUDUserName(java.lang.String usr)
usr
- The user name.public java.lang.String getAUDUserName()
public void setAUDGroupName(java.lang.String grp)
grp
- The group name.public java.lang.String getAUDGroupName()
public void setAUDProvider(java.lang.String prov)
prov
- The provider name.public java.lang.String getAUDProvider()
public void setAUDAppKey(int key)
key
- The user appkey.public int getAUDAppKey()
public int encodeATZ(byte[] buf, int offset)
buf
- the Output bufferoffset
- The offset where the encoding should startpublic int decodeATZ(byte[] buf, int offset)
public int encodeAUD(byte[] buf, int offset)
buf
- The buffer to store the out put AUD CARRAY.offset
- The offset in the return buffer where encoding should start at.public int decodeAUD(byte[] buf, int offset)
buf
- The input bufferoffset
- The offset that the decoding should start at.