| | |
| | | import java.net.InetAddress; |
| | | import java.security.cert.Certificate; |
| | | import java.util.HashMap; |
| | | import java.util.LinkedList; |
| | | import java.util.List; |
| | | |
| | | import org.opends.server.api.ClientConnection; |
| | |
| | | /** |
| | | * The allow and deny lists. |
| | | */ |
| | | private LinkedList<Aci> denyList, allowList; |
| | | private List<Aci> denyList, allowList; |
| | | |
| | | /** |
| | | * The attribute type in the resource entry currently being evaluated. |
| | |
| | | } |
| | | |
| | | /** |
| | | * Set to true if an entry has already been processsed by an access proxy |
| | | * Set to true if an entry has already been processed by an access proxy |
| | | * check. |
| | | * |
| | | * @param val The value to set the seenEntry boolean to. |
| | |
| | | |
| | | /** |
| | | * Return the list of additional attributes specified in the |
| | | * geteffectiveritghts control. |
| | | * geteffectiverights control. |
| | | * |
| | | * @return The list of attributes to return rights information about in the |
| | | * entry. |
| | |
| | | |
| | | /** |
| | | * Returns true if the geteffectiverights control's authZid DN is equal to the |
| | | * authoritzation entry's DN. |
| | | * authorization entry's DN. |
| | | * |
| | | * @return True if the authZid is equal to the authorization entry's DN. |
| | | */ |
| | |
| | | * {@inheritDoc} |
| | | */ |
| | | @Override |
| | | public void setDenyList(LinkedList<Aci> denys) { |
| | | public void setDenyList(List<Aci> denys) { |
| | | denyList=denys; |
| | | } |
| | | |
| | |
| | | * {@inheritDoc} |
| | | */ |
| | | @Override |
| | | public void setAllowList(LinkedList<Aci> allows) { |
| | | public void setAllowList(List<Aci> allows) { |
| | | allowList=allows; |
| | | } |
| | | |
| | |
| | | * {@inheritDoc} |
| | | */ |
| | | @Override |
| | | public LinkedList<Aci> getDenyList() { |
| | | public List<Aci> getDenyList() { |
| | | return denyList; |
| | | } |
| | | |
| | |
| | | * {@inheritDoc} |
| | | */ |
| | | @Override |
| | | public LinkedList<Aci> getAllowList() { |
| | | public List<Aci> getAllowList() { |
| | | return allowList; |
| | | } |
| | | |