public class MinaKerberosDecoder
extends org.apache.mina.filter.codec.CumulativeProtocolDecoder
| Modifier and Type | Field and Description |
|---|---|
private org.apache.directory.api.asn1.ber.Asn1Decoder |
asn1Decoder
The ASN 1 decoder instance
|
private static int |
DEFAULT_MAX_PDU_SIZE |
private static boolean |
IS_DEBUG
A speedup for logger
|
private static java.lang.String |
KERBEROS_MESSAGE_CONTAINER
the key used while storing message container in the session
|
private static org.slf4j.Logger |
LOG_KRB |
private int |
maxPduSize
the maximum allowed PDU size for a Kerberos request
|
| Constructor and Description |
|---|
MinaKerberosDecoder() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
doDecode(org.apache.mina.core.session.IoSession session,
org.apache.mina.core.buffer.IoBuffer in,
org.apache.mina.filter.codec.ProtocolDecoderOutput out) |
int |
getMaxPduSize() |
void |
setMaxPduSize(int maxPduSize) |
private static final java.lang.String KERBEROS_MESSAGE_CONTAINER
private org.apache.directory.api.asn1.ber.Asn1Decoder asn1Decoder
private static final int DEFAULT_MAX_PDU_SIZE
private int maxPduSize
private static final org.slf4j.Logger LOG_KRB
private static final boolean IS_DEBUG
public boolean doDecode(org.apache.mina.core.session.IoSession session,
org.apache.mina.core.buffer.IoBuffer in,
org.apache.mina.filter.codec.ProtocolDecoderOutput out)
throws java.lang.Exception
doDecode in class org.apache.mina.filter.codec.CumulativeProtocolDecoderjava.lang.Exceptionpublic int getMaxPduSize()
public void setMaxPduSize(int maxPduSize)
maxPduSize - the maxPduSize to set