| | |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * Notifies the listeners that a referral authentication change happened. |
| | | * |
| | | */ |
| | | /** Notifies the listeners that a referral authentication change happened. */ |
| | | private void notifyListeners() |
| | | { |
| | | for (ReferralAuthenticationListener listener : listeners) |
| | |
| | | |
| | | } |
| | | |
| | | /** |
| | | * A structure representing authentication data. |
| | | */ |
| | | /** A structure representing authentication data. */ |
| | | class AuthRecord { |
| | | String dn; |
| | | String password; |
| | | } |
| | | |
| | | /** |
| | | * A structure representing an active connection. |
| | | */ |
| | | /** A structure representing an active connection. */ |
| | | class ConnectionRecord { |
| | | InitialLdapContext ctx; |
| | | int counter; |