| | |
| | | import java.util.Set; |
| | | |
| | | import org.forgerock.audit.events.AccessAuditEventBuilder; |
| | | import org.forgerock.i18n.LocalizableMessage; |
| | | import org.forgerock.i18n.LocalizableMessageBuilder; |
| | | import org.forgerock.json.JsonValue; |
| | | import org.forgerock.util.Reject; |
| | |
| | | import org.opends.server.core.SearchOperation; |
| | | import org.opends.server.types.AdditionalLogItem; |
| | | import org.opends.server.types.Control; |
| | | import org.opends.server.types.DisconnectReason; |
| | | import org.opends.server.types.Operation; |
| | | |
| | | /** |
| | |
| | | return self(); |
| | | } |
| | | |
| | | public T ldapMessage(String msg) |
| | | public T ldapMessage(LocalizableMessage msg) |
| | | { |
| | | getLdapValue().put("message", msg); |
| | | if (msg != null) |
| | | { |
| | | getLdapValue().put("message", msg.toString()); |
| | | } |
| | | return self(); |
| | | } |
| | | |
| | |
| | | return self(); |
| | | } |
| | | |
| | | public T ldapReason(String msg) |
| | | public T ldapReason(DisconnectReason reason) |
| | | { |
| | | getLdapValue().put("reason", msg); |
| | | getLdapValue().put("reason", reason.toString()); |
| | | return self(); |
| | | } |
| | | |