| | |
| | | // Indicates whether the server should reject unauthenticated requests. |
| | | private boolean rejectUnauthenticatedRequests; |
| | | |
| | | // Indicates whether bind responses should include failure reason messages. |
| | | private boolean returnBindErrorMessages; |
| | | |
| | | // The configuration manager that will handle the certificate mapper. |
| | | private CertificateMapperConfigManager certificateMapperConfigManager; |
| | | |
| | |
| | | new CopyOnWriteArrayList<ImportTaskListener>(); |
| | | directoryServer.allowedTasks = new LinkedHashSet<String>(0); |
| | | directoryServer.disabledPrivileges = new LinkedHashSet<Privilege>(0); |
| | | directoryServer.returnBindErrorMessages = false; |
| | | } |
| | | |
| | | |
| | |
| | | |
| | | |
| | | /** |
| | | * Indicates whether responses to failed bind operations should include a |
| | | * message explaining the reason for the failure. |
| | | * |
| | | * @return {@code true} if bind responses should include error messages, or |
| | | * {@code false} if not. |
| | | */ |
| | | public static boolean returnBindErrorMessages() |
| | | { |
| | | return directoryServer.returnBindErrorMessages; |
| | | } |
| | | |
| | | |
| | | |
| | | /** |
| | | * Specifies whether responses to failed bind operations should include a |
| | | * message explaining the reason for the failure. |
| | | * |
| | | * @param returnBindErrorMessages Specifies whether responses to failed bind |
| | | * operations should include a message |
| | | * explaining the reason for the failure. |
| | | */ |
| | | public static void setReturnBindErrorMessages(boolean returnBindErrorMessages) |
| | | { |
| | | directoryServer.returnBindErrorMessages = returnBindErrorMessages; |
| | | } |
| | | |
| | | |
| | | |
| | | /** |
| | | * Registers the provided backup task listener with the Directory Server. |
| | | * |
| | | * @param listener The backup task listener to register with the Directory |