class ZMSImpl implements Authorizer, KeyStore, ZMSHandler {

    @Override
    public DomainGroupMembership getPendingDomainGroupMembersList(ResourceContext ctx, String principal) {
        final String caller = ctx.getApiName();

        final Principal ctxPrincipal = ((RsrcCtxWrapper) ctx).principal();
        logPrincipal(ctx);

        validateRequest(ctx.request(), caller);

        String checkPrincipal;
        if (principal != null && !principal.isEmpty()) {
            validate(principal, TYPE_ENTITY_NAME, caller);
            checkPrincipal = normalizeDomainAliasUser(principal.toLowerCase());
        } else {
            checkPrincipal = ctxPrincipal.getFullName();
        }

        if (LOG.isDebugEnabled()) {
            LOG.debug("getpendingdomaingroupmemberslist principal: ({})", checkPrincipal);
        }

        return dbService.getPendingDomainGroupMembers(checkPrincipal);
    }

    public  ZMSImpl();

}