| | |
| | | * |
| | | * |
| | | * Copyright 2008 Sun Microsystems, Inc. |
| | | * Portions Copyright 2013 ForgeRock AS |
| | | * Portions Copyright 2013-2014 ForgeRock AS |
| | | */ |
| | | package org.opends.server.authorization.dseecompat; |
| | | |
| | |
| | | import java.util.LinkedList; |
| | | import java.util.List; |
| | | |
| | | import org.opends.messages.Message; |
| | | import org.forgerock.i18n.LocalizableMessage; |
| | | |
| | | /** |
| | | * This class implements the dayofweek bind rule keyword. |
| | |
| | | EnumDayOfWeek day=EnumDayOfWeek.createDayOfWeek(element); |
| | | if (day == null) |
| | | { |
| | | Message message = WARN_ACI_SYNTAX_INVALID_DAYOFWEEK.get(expr); |
| | | LocalizableMessage message = WARN_ACI_SYNTAX_INVALID_DAYOFWEEK.get(expr); |
| | | throw new AciException(message); |
| | | } |
| | | days.add(day); |