| | |
| | | * |
| | | * |
| | | * Copyright 2008 Sun Microsystems, Inc. |
| | | * Portions Copyright 2012-2013 ForgeRock AS |
| | | * Portions Copyright 2012-2014 ForgeRock AS |
| | | */ |
| | | |
| | | package org.opends.server.authorization.dseecompat; |
| | | import org.opends.messages.Message; |
| | | import org.forgerock.i18n.LocalizableMessage; |
| | | |
| | | import static org.opends.messages.AccessControlMessages.*; |
| | | import static org.opends.server.authorization.dseecompat.Aci.*; |
| | |
| | | //after conversion to AttributeType. |
| | | arrayToAttributeTypes(attributeArray, attrString); |
| | | } else { |
| | | Message message = |
| | | LocalizableMessage message = |
| | | WARN_ACI_SYNTAX_INVALID_TARGETATTRKEYWORD_EXPRESSION. |
| | | get(attrString); |
| | | throw new AciException(message); |
| | |
| | | if(!allUserAttributes) |
| | | allUserAttributes=true; |
| | | else { |
| | | Message message = |
| | | LocalizableMessage message = |
| | | WARN_ACI_TARGETATTR_INVALID_ATTR_TOKEN.get(attrStr); |
| | | throw new AciException(message); |
| | | } |
| | |
| | | if(!allOpAttributes) |
| | | allOpAttributes=true; |
| | | else { |
| | | Message message = |
| | | LocalizableMessage message = |
| | | WARN_ACI_TARGETATTR_INVALID_ATTR_TOKEN.get(attrStr); |
| | | throw new AciException(message); |
| | | } |