com.ibm.security.krb5

Class KrbError

  1. java.lang.Object
  2. extended bycom.ibm.security.krb5.KrbError

  1. public class KrbError
  2. extends java.lang.Object
This class encapsulates the KRB-ERROR message. This is sent from the server to the client if there is an error with the KRB-AP-REQ the server received. In the case when a KDC-Exchange is done, this message, if generated by the KDC will be translated to an Exception on the client side by the underlying protocl code.

Constructor Summary

Constructor and Description
KrbError(byte[] asn1Message)
DOCUMENT ME!
KrbError(PrincipalName server,PrincipalName client,int eCode,java.lang.String eString)
DOCUMENT ME!

Method Summary

Modifier and Type Method and Description
  1. java.lang.Integer
getClientMicroSeconds()
DOCUMENT ME!
  1. PrincipalName
getClientPrincipal()
DOCUMENT ME!
  1. java.util.Date
getClientTime()
DOCUMENT ME!
  1. int
getErrorCode()
DOCUMENT ME!
  1. java.lang.String
getErrorString()
DOCUMENT ME!
  1. byte[]
getMessage()
Returns the ASN.1 encoding that should be sent to the peer.
  1. java.lang.Integer
getServerMicroSeconds()
DOCUMENT ME!
  1. PrincipalName
getServerPrincipal()
DOCUMENT ME!
  1. java.util.Date
getServerTime()
DOCUMENT ME!
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

KrbError

  1. public KrbError(PrincipalName server,
  2. PrincipalName client,
  3. int eCode,
  4. java.lang.String eString)
  5. throws KrbException
  6. java.io.IOException
DOCUMENT ME!
Parameters:
server -
client - DOCUMENT ME!
eCode - DOCUMENT ME!
eString - DOCUMENT ME!
Throws:
java.io.IOException

KrbError

  1. public KrbError(byte[] asn1Message)
  2. throws KrbException
  3. java.io.IOException
DOCUMENT ME!
Parameters:
asn1Message -
Throws:
java.io.IOException

Method Detail

getErrorCode

  1. public int getErrorCode()
DOCUMENT ME!
Returns:
DOCUMENT ME!

getErrorString

  1. public java.lang.String getErrorString( )
DOCUMENT ME!
Returns:
DOCUMENT ME!

getServerPrincipal

  1. public PrincipalName getServerPrincipal( )
DOCUMENT ME!
Returns:
DOCUMENT ME!

getClientPrincipal

  1. public PrincipalName getClientPrincipal( )
DOCUMENT ME!
Returns:
DOCUMENT ME!

getServerTime

  1. public java.util.Date getServerTime( )
DOCUMENT ME!
Returns:
DOCUMENT ME!

getClientTime

  1. public java.util.Date getClientTime( )
DOCUMENT ME!
Returns:
DOCUMENT ME!

getServerMicroSeconds

  1. public java.lang.Integer getServerMicroSeconds( )
DOCUMENT ME!
Returns:
DOCUMENT ME!

getClientMicroSeconds

  1. public java.lang.Integer getClientMicroSeconds( )
DOCUMENT ME!
Returns:
DOCUMENT ME!

getMessage

  1. public byte[] getMessage()
Returns the ASN.1 encoding that should be sent to the peer.
Returns:
DOCUMENT ME!