class DBService implements RolesProvider {

    void auditLogRoleMeta(StringBuilder auditDetails, Role role, String roleName) {
        auditDetails.append("{\"name\": \"").append(roleName)
                .append("\", \"selfServe\": \"").append(role.getSelfServe())
                .append("\", \"memberExpiryDays\": \"").append(role.getMemberExpiryDays())
                .append("\", \"serviceExpiryDays\": \"").append(role.getServiceExpiryDays())
                .append("\", \"tokenExpiryMins\": \"").append(role.getTokenExpiryMins())
                .append("\", \"certExpiryMins\": \"").append(role.getCertExpiryMins())
                .append("\", \"memberReviewDays\": \"").append(role.getMemberReviewDays())
                .append("\", \"serviceReviewDays\": \"").append(role.getServiceReviewDays())
                .append("\", \"reviewEnabled\": \"").append(role.getReviewEnabled())
                .append("\", \"notifyRoles\": \"").append(role.getNotifyRoles())
                .append("\", \"signAlgorithm\": \"").append(role.getSignAlgorithm())
                .append("\", \"userAuthorityFilter\": \"").append(role.getUserAuthorityFilter())
                .append("\", \"userAuthorityExpiration\": \"").append(role.getUserAuthorityExpiration())
                .append("\"}");
    }

    public  DBService(ObjectStore store, AuditLogger auditLogger, ZMSConfig zmsConfig, AuditReferenceValidator auditReferenceValidator);

}