view test/javax/naming/module/src/test/test/ReadByUrl.ldap @ 13901:b2a69d66dc65

8142968: Module System implementation Summary: Initial integration of JEP 200, JEP 260, JEP 261, and JEP 282 Reviewed-by: alanb, mchung, naoto, rriggs, psandoz, plevart, mullan, ascarpino, vinnie, prr, sherman, dfuchs, mhaupt Contributed-by: alan.bateman@oracle.com, alex.buckley@oracle.com, jonathan.gibbons@oracle.com, karen.kinnear@oracle.com, mandy.chung@oracle.com, mark.reinhold@oracle.com, chris.hegarty@oracle.com, alexandr.scherbatiy@oracle.com, amy.lu@oracle.com, calvin.cheung@oracle.com, daniel.fuchs@oracle.com, erik.joelsson@oracle.com, harold.seigel@oracle.com, jaroslav.bachorik@oracle.com, jean-francois.denise@oracle.com, jan.lahoda@oracle.com, james.laskey@oracle.com, lois.foltan@oracle.com, miroslav.kos@oracle.com, huaming.li@oracle.com, sean.mullan@oracle.com, naoto.sato@oracle.com, masayoshi.okutsu@oracle.com, peter.levart@gmail.com, philip.race@oracle.com, claes.redestad@oracle.com, sergey.bylokhov@oracle.com, alexandre.iline@oracle.com, volker.simonis@gmail.com, staffan.larsen@oracle.com, stuart.marks@oracle.com, semyon.sadetsky@oracle.com, serguei.spitsyn@oracle.com, sundararajan.athijegannathan@oracle.com, valerie.peng@oracle.com, vincent.x.ryan@oracle.com, weijun.wang@oracle.com, yuri.nesterenko@oracle.com, yekaterina.kantserova@oracle.com, alexander.kulyakhtin@oracle.com, felix.yang@oracle.com, andrei.eremeev@oracle.com, frank.yuan@oracle.com, sergei.pikalev@oracle.com, sibabrata.sahoo@oracle.com, tiantian.du@oracle.com, sha.jiang@oracle.com
author alanb
date Thu, 17 Mar 2016 19:04:16 +0000
parents
children
line wrap: on
line source
#
# Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#

################################################################################
# Capture file for ReadByUrl.java
#
# NOTE: This hexadecimal dump of LDAP protocol messages was generated by
#       running the ReadByUrl application program against a real LDAP
#       server and setting the JNDI/LDAP environment property:
#       com.sun.jndi.ldap.trace.ber to activate LDAP message tracing.
#
#      (The ASN.1 annotations were generated separately by the dumpasn1
#       utility and added only for clarity.)
#
################################################################################

# LDAP BindRequest:
#
#   0   12: SEQUENCE {
#   2    1:   INTEGER 1
#   5    7:   [APPLICATION 0] {
#   7    1:     INTEGER 3
#  10    0:     OCTET STRING
#  12    0:     [0]
#         :     }
#         :   }
#
0000: 30 0C 02 01 01 60 07 02   01 03 04 00 80 00        0....`........

# LDAP BindResponse:
#
#   0   12: SEQUENCE {
#   2    1:   INTEGER 1
#   5    7:   [APPLICATION 1] {
#   7    1:     ENUMERATED 0
#  10    0:     OCTET STRING
#  12    0:     OCTET STRING
#         :     }
#         :   }
#
0000: 30 0C 02 01 01 61 07 0A   01 00 04 00 04 00        0....a........

# LDAP SearchRequest:
#
#   0   88: SEQUENCE {
#   2    1:   INTEGER 2
#   5   54:   [APPLICATION 3] {
#   7   22:     OCTET STRING 'dc=ie,dc=oracle,dc=com'
#  31    1:     ENUMERATED 0
#  34    1:     ENUMERATED 3
#  37    1:     INTEGER 0
#  40    1:     INTEGER 0
#  43    1:     BOOLEAN FALSE
#  46   11:     [7] 'objectClass'
#  59    0:     SEQUENCE {}
#         :     }
#  61   27:   [0] {
#  63   25:     SEQUENCE {
#  65   23:       OCTET STRING '2.16.840.1.113730.3.4.2'
#         :       }
#         :     }
#         :   }
0000: 30 58 02 01 02 63 36 04   16 64 63 3D 69 65 2C 64  0X...c6..dc=ie,d
0010: 63 3D 6F 72 61 63 6C 65   2C 64 63 3D 63 6F 6D 0A  c=oracle,dc=com.
0020: 01 00 0A 01 03 02 01 00   02 01 00 01 01 00 87 0B  ................
0030: 6F 62 6A 65 63 74 43 6C   61 73 73 30 00 A0 1B 30  objectClass0...0
0040: 19 04 17 32 2E 31 36 2E   38 34 30 2E 31 2E 31 31  ...2.16.840.1.11
0050: 33 37 33 30 2E 33 2E 34   2E 32                    3730.3.4.2

# LDAP SearchResultEntry:
#
#   0  111: SEQUENCE {
#   2    1:   INTEGER 2
#   5  106:   [APPLICATION 4] {
#   7   22:     OCTET STRING 'dc=ie,dc=oracle,dc=com'
#  31   80:     SEQUENCE {
#  33   44:       SEQUENCE {
#  35   11:         OCTET STRING 'objectClass'
#  48   29:         SET {
#  50    3:           OCTET STRING 'top'
#  55    8:           OCTET STRING 'dcObject'
#  65   12:           OCTET STRING 'organization'
#         :           }
#         :         }
#  79   20:       SEQUENCE {
#  81    1:         OCTET STRING 6F
#  84   15:         SET {
#  86   13:           OCTET STRING 'ie.oracle.com'
#         :           }
#         :         }
# 101   10:       SEQUENCE {
# 103    2:         OCTET STRING 64 63
# 107    4:         SET {
# 109    2:           OCTET STRING 69 65
#         :           }
#         :         }
#         :       }
#         :     }
#         :   }
#
0000: 30 6F 02 01 02 64 6A 04   16 64 63 3D 69 65 2C 64  0o...dj..dc=ie,d
0010: 63 3D 6F 72 61 63 6C 65   2C 64 63 3D 63 6F 6D 30  c=oracle,dc=com0
0020: 50 30 2C 04 0B 6F 62 6A   65 63 74 43 6C 61 73 73  P0,..objectClass
0030: 31 1D 04 03 74 6F 70 04   08 64 63 4F 62 6A 65 63  1...top..dcObjec
0040: 74 04 0C 6F 72 67 61 6E   69 7A 61 74 69 6F 6E 30  t..organization0
0050: 14 04 01 6F 31 0F 04 0D   69 65 2E 6F 72 61 63 6C  ...o1...ie.oracl
0060: 65 2E 63 6F 6D 30 0A 04   02 64 63 31 04 04 02 69  e.com0...dc1...i
0070: 65                                                 e

# LDAP SearchResultDone:
#
#   0   12: SEQUENCE {
#   2    1:   INTEGER 2
#   5    7:   [APPLICATION 5] {
#   7    1:     ENUMERATED 0
#  10    0:     OCTET STRING
#  12    0:     OCTET STRING
#         :     }
#         :   }
#
0000: 30 0C 02 01 02 65 07 0A   01 00 04 00 04 00        0....e........

# LDAP UnbindRequest:
#
#   0   34: SEQUENCE {
#   2    1:   INTEGER 3
#   5    0:   [APPLICATION 2]
#   7   27:   [0] {
#   9   25:     SEQUENCE {
#  11   23:       OCTET STRING '2.16.840.1.113730.3.4.2'
#         :       }
#         :     }
#         :   }
#
0000: 30 22 02 01 03 42 00 A0   1B 30 19 04 17 32 2E 31  0"...B...0...2.1
0010: 36 2E 38 34 30 2E 31 2E   31 31 33 37 33 30 2E 33  6.840.1.113730.3
0020: 2E 34 2E 32                                        .4.2