- [Issue 2406] supportedControl in DSE does not display all the supported controls:
advertise Account Usable and GetEffectiveRights via supportedControl of RootDSE.
also fix criticality field recognition/process for GetEffectiveRights request control.
| | |
| | | aciListenerMgr = new AciListenerManager(aciList, configurationDN); |
| | | processGlobalAcis(configuration); |
| | | processConfigAcis(); |
| | | DirectoryServer.registerSupportedControl(OID_GET_EFFECTIVE_RIGHTS); |
| | | } |
| | | |
| | | |
| | |
| | | public void finalizeAccessControlHandler() |
| | | { |
| | | AciEffectiveRights.finalizeOnShutdown(); |
| | | DirectoryServer.deregisterSupportedControl(OID_GET_EFFECTIVE_RIGHTS); |
| | | } |
| | | |
| | | |
| | |
| | | supportedControls.add(OID_PASSWORD_POLICY_CONTROL); |
| | | supportedControls.add(OID_REAL_ATTRS_ONLY); |
| | | supportedControls.add(OID_VIRTUAL_ATTRS_ONLY); |
| | | supportedControls.add(OID_ACCOUNT_USABLE_CONTROL); |
| | | } |
| | | |
| | | |
| | |
| | | { |
| | | setVirtualAttributesOnly(true); |
| | | } |
| | | else if (oid.equals(OID_GET_EFFECTIVE_RIGHTS) && |
| | | DirectoryServer.isSupportedControl(OID_GET_EFFECTIVE_RIGHTS)) |
| | | { |
| | | // Do nothing here and let AciHandler deal with it. |
| | | } |
| | | |
| | | // NYI -- Add support for additional controls. |
| | | |