equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1999, 2011, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1999, 2017, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
115 this.nextName = nextName; |
115 this.nextName = nextName; |
116 this.handleReferrals = handleReferrals; |
116 this.handleReferrals = handleReferrals; |
117 |
117 |
118 // If following referral, request controls are passed to referral ctx |
118 // If following referral, request controls are passed to referral ctx |
119 this.reqCtls = |
119 this.reqCtls = |
120 (handleReferrals == LdapClient.LDAP_REF_FOLLOW ? reqCtls : null); |
120 (handleReferrals == LdapClient.LDAP_REF_FOLLOW || |
|
121 handleReferrals == LdapClient.LDAP_REF_FOLLOW_SCHEME ? reqCtls : null); |
121 } |
122 } |
122 |
123 |
123 /** |
124 /** |
124 * Gets a context at which to continue processing. |
125 * Gets a context at which to continue processing. |
125 * The current environment properties are re-used. |
126 * The current environment properties are re-used. |