private void readObject(ObjectInputStream ois) throws IOException, ClassNotFoundException {
  byte[] asn1EncPrincipal=(byte[])ois.readObject();
  byte[] encRealm=(byte[])ois.readObject();
  try {
    Realm realmObject=new Realm(new DerValue(encRealm));
    PrincipalName krb5Principal=new PrincipalName(new DerValue(asn1EncPrincipal),realmObject);
    realm=realmObject.toString();
    fullName=krb5Principal.toString();
    nameType=krb5Principal.getNameType();
  }
 catch (  Exception e) {
    throw new IOException(e);
  }
}

private void readObject ( ObjectInputStream ois ) throws IOException , ClassNotFoundException { byte [ ] asn1EncPrincipal = ( byte [ ] ) ois . readObject ( ) ; byte [ ] encRealm = ( byte [ ] ) ois . readObject ( ) ; try { Realm realmObject = new Realm ( new DerValue ( encRealm ) ) ; PrincipalName krb5Principal = new PrincipalName ( new DerValue ( asn1EncPrincipal ) , realmObject ) ; realm = realmObject . toString ( ) ; fullName = krb5Principal . toString ( ) ; nameType = krb5Principal . getNameType ( ) ; } catch ( Exception e ) { throw new IOException ( e ) ; } }
reads this object from a stream ( i . e . , deserializes it )
